Skip to content

Commit 0c054f9

Browse files
committed
chore: suggested changes
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent c4447dd commit 0c054f9

70 files changed

Lines changed: 175 additions & 103 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/node_modules/@stdlib/plot/vega/axis/ctor/test/test.domain_dash.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ var hasProp = require( '@stdlib/assert/has-property' );
2626
var isArray = require( '@stdlib/assert/is-array' );
2727
var Axis = require( './../lib' );
2828

29+
2930
// TESTS //
3031

3132
tape( 'main export is a function', function test( t ) {
@@ -115,8 +116,8 @@ tape( 'the constructor returns an instance having a `domainDash` property which
115116
});
116117

117118
tape( 'the constructor returns an instance which emits an event when the `domainDash` property is set to a new value', function test( t ) {
118-
var axis;
119119
var count;
120+
var axis;
120121

121122
axis = new Axis({
122123
'scale': 'xScale',

lib/node_modules/@stdlib/plot/vega/axis/ctor/test/test.domain_dash_offset.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ var hasProp = require( '@stdlib/assert/has-property' );
2727
var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
2828
var Axis = require( './../lib' );
2929

30+
3031
// TESTS //
3132

3233
tape( 'main export is a function', function test( t ) {
@@ -122,8 +123,8 @@ tape( 'the constructor returns an instance having a `domainDashOffset` property
122123
});
123124

124125
tape( 'the constructor returns an instance which emits an event when the `domainDashOffset` property is set to a new value', function test( t ) {
125-
var axis;
126126
var count;
127+
var axis;
127128

128129
axis = new Axis({
129130
'scale': 'xScale',

lib/node_modules/@stdlib/plot/vega/axis/ctor/test/test.domain_opacity.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ var hasProp = require( '@stdlib/assert/has-property' );
2626
var isNumber = require( '@stdlib/assert/is-number' ).isPrimitive;
2727
var Axis = require( './../lib' );
2828

29+
2930
// TESTS //
3031

3132
tape( 'main export is a function', function test( t ) {
@@ -116,8 +117,8 @@ tape( 'the constructor returns an instance having a `domainOpacity` property whi
116117
});
117118

118119
tape( 'the constructor returns an instance which emits an event when the `domainOpacity` property is set to a new value', function test( t ) {
119-
var axis;
120120
var count;
121+
var axis;
121122

122123
axis = new Axis({
123124
'scale': 'xScale',

lib/node_modules/@stdlib/plot/vega/axis/ctor/test/test.domain_width.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ var hasProp = require( '@stdlib/assert/has-property' );
2727
var isNonNegativeNumber = require( '@stdlib/assert/is-nonnegative-number' );
2828
var Axis = require( './../lib' );
2929

30+
3031
// TESTS //
3132

3233
tape( 'main export is a function', function test( t ) {
@@ -124,8 +125,8 @@ tape( 'the constructor returns an instance having a `domainWidth` property which
124125
});
125126

126127
tape( 'the constructor returns an instance which emits an event when the `domainWidth` property is set to a new value', function test( t ) {
127-
var axis;
128128
var count;
129+
var axis;
129130

130131
axis = new Axis({
131132
'scale': 'xScale',

lib/node_modules/@stdlib/plot/vega/axis/ctor/test/test.format.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ var tape = require( 'tape' );
2424
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
2525
var isUndefined = require( '@stdlib/assert/is-undefined' );
2626
var hasProp = require( '@stdlib/assert/has-property' );
27-
var isString = require( '@stdlib/assert/is-string' );
27+
var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
2828
var Axis = require( './../lib' );
2929

30+
3031
// TESTS //
3132

3233
tape( 'main export is a function', function test( t ) {
@@ -120,8 +121,8 @@ tape( 'the constructor returns an instance having a `format` property which can
120121
});
121122

122123
tape( 'the constructor returns an instance which emits an event when the `format` property is set to a new value', function test( t ) {
123-
var axis;
124124
var count;
125+
var axis;
125126

126127
axis = new Axis({
127128
'scale': 'xScale',

lib/node_modules/@stdlib/plot/vega/axis/ctor/test/test.format_type.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ var tape = require( 'tape' );
2424
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
2525
var isUndefined = require( '@stdlib/assert/is-undefined' );
2626
var hasProp = require( '@stdlib/assert/has-property' );
27-
var isString = require( '@stdlib/assert/is-string' );
27+
var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
2828
var Axis = require( './../lib' );
2929

30+
3031
// TESTS //
3132

3233
tape( 'main export is a function', function test( t ) {
@@ -125,8 +126,8 @@ tape( 'the constructor returns an instance having a `formatType` property which
125126
});
126127

127128
tape( 'the constructor returns an instance which emits an event when the `formatType` property is set to a new value', function test( t ) {
128-
var axis;
129129
var count;
130+
var axis;
130131

131132
axis = new Axis({
132133
'scale': 'xScale',

lib/node_modules/@stdlib/plot/vega/axis/ctor/test/test.grid.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
var tape = require( 'tape' );
2424
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
2525
var hasProp = require( '@stdlib/assert/has-property' );
26-
var isBoolean = require( '@stdlib/assert/is-boolean' );
26+
var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
2727
var Axis = require( './../lib' );
2828

29+
2930
// TESTS //
3031

3132
tape( 'main export is a function', function test( t ) {
@@ -114,8 +115,8 @@ tape( 'the constructor returns an instance having a `grid` property which can be
114115
});
115116

116117
tape( 'the constructor returns an instance which emits an event when the `grid` property is set to a new value', function test( t ) {
117-
var axis;
118118
var count;
119+
var axis;
119120

120121
axis = new Axis({
121122
'scale': 'xScale',

lib/node_modules/@stdlib/plot/vega/axis/ctor/test/test.grid_cap.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
var tape = require( 'tape' );
2424
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
2525
var hasProp = require( '@stdlib/assert/has-property' );
26-
var isString = require( '@stdlib/assert/is-string' );
26+
var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
2727
var Axis = require( './../lib' );
2828

29+
2930
// TESTS //
3031

3132
tape( 'main export is a function', function test( t ) {
@@ -127,8 +128,8 @@ tape( 'the constructor returns an instance having a `gridCap` property which can
127128
});
128129

129130
tape( 'the constructor returns an instance which emits an event when the `gridCap` property is set to a new value', function test( t ) {
130-
var axis;
131131
var count;
132+
var axis;
132133

133134
axis = new Axis({
134135
'scale': 'xScale',

lib/node_modules/@stdlib/plot/vega/axis/ctor/test/test.grid_color.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ var tape = require( 'tape' );
2424
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
2525
var isUndefined = require( '@stdlib/assert/is-undefined' );
2626
var hasProp = require( '@stdlib/assert/has-property' );
27-
var isString = require( '@stdlib/assert/is-string' );
27+
var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
2828
var Axis = require( './../lib' );
2929

30+
3031
// TESTS //
3132

3233
tape( 'main export is a function', function test( t ) {
@@ -123,8 +124,8 @@ tape( 'the constructor returns an instance having a `gridColor` property which c
123124
});
124125

125126
tape( 'the constructor returns an instance which emits an event when the `gridColor` property is set to a new value', function test( t ) {
126-
var axis;
127127
var count;
128+
var axis;
128129

129130
axis = new Axis({
130131
'scale': 'xScale',

lib/node_modules/@stdlib/plot/vega/axis/ctor/test/test.grid_dash.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ var hasProp = require( '@stdlib/assert/has-property' );
2626
var isArray = require( '@stdlib/assert/is-array' );
2727
var Axis = require( './../lib' );
2828

29+
2930
// TESTS //
3031

3132
tape( 'main export is a function', function test( t ) {
@@ -115,8 +116,8 @@ tape( 'the constructor returns an instance having a `gridDash` property which ca
115116
});
116117

117118
tape( 'the constructor returns an instance which emits an event when the `gridDash` property is set to a new value', function test( t ) {
118-
var axis;
119119
var count;
120+
var axis;
120121

121122
axis = new Axis({
122123
'scale': 'xScale',

0 commit comments

Comments
 (0)