Skip to content

Commit 9534863

Browse files
authored
style: disable lint rule
Signed-off-by: Athan <[email protected]>
1 parent e404a3c commit 9534863

File tree

1 file changed

+18
-12
lines changed
  • lib/node_modules/@stdlib/ndarray/base/slice-dimension-from/test

1 file changed

+18
-12
lines changed

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

Lines changed: 18 additions & 12 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,14 +161,18 @@ tape( 'in non-strict mode, the function returns an empty array when a starting i
163161
var start;
164162
var i;
165163

164+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
165+
166166
values = [
167-
zeros([ 1 ], { 'dtype': 'float64' }),
168-
zeros([ 1, 1 ], { 'dtype': 'float32' }),
169-
zeros([ 1, 1, 1 ], { 'dtype': 'int32' }),
170-
zeros([ 1, 1, 1, 1 ], { 'dtype': 'uint32' }),
171-
zeros([ 1, 1, 1, 1, 1 ], { 'dtype': 'complex128' })
167+
zeros( [ 1 ], { 'dtype': 'float64' } ),
168+
zeros( [ 1, 1 ], { 'dtype': 'float32' } ),
169+
zeros( [ 1, 1, 1 ], { 'dtype': 'int32' } ),
170+
zeros( [ 1, 1, 1, 1 ], { 'dtype': 'uint32' } ),
171+
zeros( [ 1, 1, 1, 1, 1 ], { 'dtype': 'complex128' } )
172172
];
173173

174+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
175+
174176
start = [
175177
10,
176178
20,
@@ -194,14 +196,18 @@ tape( 'in non-strict mode, the function returns an empty array when a starting i
194196
var dim;
195197
var i;
196198

199+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
200+
197201
values = [
198-
zeros([ 1 ], { 'dtype': 'float64' }),
199-
zeros([ 1, 1 ], { 'dtype': 'float32' }),
200-
zeros([ 1, 1, 1 ], { 'dtype': 'int32' }),
201-
zeros([ 1, 1, 1, 1 ], { 'dtype': 'uint32' }),
202-
zeros([ 1, 1, 1, 1, 1 ], { 'dtype': 'complex128' })
202+
zeros( [ 1 ], { 'dtype': 'float64' } ),
203+
zeros( [ 1, 1 ], { 'dtype': 'float32' } ),
204+
zeros( [ 1, 1, 1 ], { 'dtype': 'int32' } ),
205+
zeros( [ 1, 1, 1, 1 ], { 'dtype': 'uint32' } ),
206+
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)