Skip to content

Commit 0af16c9

Browse files
committed
style: resolve lint errors
--- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent b85bc6f commit 0af16c9

File tree

1 file changed

+8
-2
lines changed
  • lib/node_modules/@stdlib/ndarray/base/slice-dimension-to/test

1 file changed

+8
-2
lines changed

lib/node_modules/@stdlib/ndarray/base/slice-dimension-to/test/test.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable object-curly-newline */
20-
2119
'use strict';
2220

2321
// MODULES //
@@ -163,6 +161,8 @@ tape( 'in non-strict mode, the function returns an empty array when an ending in
163161
var stop;
164162
var i;
165163

164+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
165+
166166
values = [
167167
zeros( [ 1 ], { 'dtype': 'float64' } ),
168168
zeros( [ 1, 1 ], { 'dtype': 'float32' } ),
@@ -171,6 +171,8 @@ tape( 'in non-strict mode, the function returns an empty array when an ending in
171171
zeros( [ 1, 1, 1, 1, 1 ], { 'dtype': 'complex128' } )
172172
];
173173

174+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
175+
174176
stop = [
175177
-10,
176178
-20,
@@ -194,6 +196,8 @@ tape( 'the function returns an empty array when an ending index is the first ele
194196
var dim;
195197
var i;
196198

199+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
200+
197201
values = [
198202
zeros( [ 1 ], { 'dtype': 'float64' } ),
199203
zeros( [ 1, 1 ], { 'dtype': 'float32' } ),
@@ -202,6 +206,8 @@ tape( 'the function returns an empty array when an ending index is the first ele
202206
zeros( [ 1, 1, 1, 1, 1 ], { 'dtype': 'complex128' } )
203207
];
204208

209+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
210+
205211
dim = [
206212
0,
207213
1,

0 commit comments

Comments
 (0)