Skip to content

Commit a1e8f03

Browse files
ditsuskgrytePlaneshifter
authored
chore: fix EditorConfig lint errors
PR-URL: #5543 Closes: #5526 Co-authored-by: Athan Reines <[email protected]> Co-authored-by: Philipp Burckhardt <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]> Signed-off-by: Athan Reines <[email protected]> Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent f3a4bd9 commit a1e8f03

File tree

6 files changed

+180
-180
lines changed

6 files changed

+180
-180
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/no-nested-require/examples/index.js

+13-13
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ result = linter.verify( code, {
3636
});
3737
console.log( result );
3838
/* =>
39-
[
40-
{
41-
'ruleId': 'no-nested-require',
42-
'severity': 2,
43-
'message': 'do not use nested property access for require() expressions',
44-
'line': 2,
45-
'column': 15,
46-
'nodeType': 'CallExpression',
47-
'source': 'var special = require( \'@stdlib/math\' ).base.special;',
48-
'endLine': 2,
49-
'endColumn': 29
50-
}
51-
]
39+
[
40+
{
41+
'ruleId': 'no-nested-require',
42+
'severity': 2,
43+
'message': 'do not use nested property access for require() expressions',
44+
'line': 2,
45+
'column': 15,
46+
'nodeType': 'CallExpression',
47+
'source': 'var special = require( \'@stdlib/math\' ).base.special;',
48+
'endLine': 2,
49+
'endColumn': 29
50+
}
51+
]
5252
*/
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"usernames": [],
3-
"protocol": "https",
4-
"hostname": "api.github.com",
5-
"port": 443,
6-
"pathname": "/",
7-
"page": 1,
8-
"last_page": 1,
9-
"per_page": 1,
10-
"method": "GET",
11-
"useragent": "https://github.com/stdlib-js/stdlib/@stdlib/_tools/github/user-details",
12-
"accept": "application/vnd.github.v3+json"
2+
"usernames": [],
3+
"protocol": "https",
4+
"hostname": "api.github.com",
5+
"port": 443,
6+
"pathname": "/",
7+
"page": 1,
8+
"last_page": 1,
9+
"per_page": 1,
10+
"method": "GET",
11+
"useragent": "https://github.com/stdlib-js/stdlib/@stdlib/_tools/github/user-details",
12+
"accept": "application/vnd.github.v3+json"
1313
}

lib/node_modules/@stdlib/error/reviver/examples/index.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ var err1 = new SyntaxError( 'bad syntax' );
2626

2727
var json = err2json( err1 );
2828
/* e.g., returns
29-
{
30-
'type': 'SyntaxError',
31-
'name': 'SyntaxError',
32-
'message': 'bad syntax',
33-
'stack': '...'
34-
}
29+
{
30+
'type': 'SyntaxError',
31+
'name': 'SyntaxError',
32+
'message': 'bad syntax',
33+
'stack': '...'
34+
}
3535
*/
3636

3737
var str = JSON.stringify( json );
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,78 @@
11
{
2-
"options": {
3-
"task": "build"
4-
},
5-
"fields": [
6-
{
7-
"field": "src",
8-
"resolve": true,
9-
"relative": true
10-
},
11-
{
12-
"field": "include",
13-
"resolve": true,
14-
"relative": true
15-
},
16-
{
17-
"field": "libraries",
18-
"resolve": false,
19-
"relative": false
20-
},
21-
{
22-
"field": "libpath",
23-
"resolve": true,
24-
"relative": false
25-
}
26-
],
27-
"confs": [
28-
{
29-
"task": "build",
30-
"src": [
31-
"./src/rsqrt.c"
32-
],
33-
"include": [
34-
"./include"
35-
],
36-
"libraries": [
37-
"-lm"
38-
],
39-
"libpath": [],
40-
"dependencies": [
41-
"@stdlib/math/base/napi/unary",
42-
"@stdlib/math/base/special/sqrt"
43-
]
44-
},
45-
{
46-
"task": "benchmark",
47-
"src": [
48-
"./src/rsqrt.c"
49-
],
50-
"include": [
51-
"./include"
52-
],
53-
"libraries": [
54-
"-lm"
55-
],
56-
"libpath": [],
57-
"dependencies": [
58-
"@stdlib/math/base/special/sqrt"
59-
]
60-
},
61-
{
62-
"task": "examples",
63-
"src": [
64-
"./src/rsqrt.c"
65-
],
66-
"include": [
67-
"./include"
68-
],
69-
"libraries": [
70-
"-lm"
71-
],
72-
"libpath": [],
73-
"dependencies": [
74-
"@stdlib/math/base/special/sqrt"
75-
]
76-
}
77-
]
2+
"options": {
3+
"task": "build"
4+
},
5+
"fields": [
6+
{
7+
"field": "src",
8+
"resolve": true,
9+
"relative": true
10+
},
11+
{
12+
"field": "include",
13+
"resolve": true,
14+
"relative": true
15+
},
16+
{
17+
"field": "libraries",
18+
"resolve": false,
19+
"relative": false
20+
},
21+
{
22+
"field": "libpath",
23+
"resolve": true,
24+
"relative": false
25+
}
26+
],
27+
"confs": [
28+
{
29+
"task": "build",
30+
"src": [
31+
"./src/rsqrt.c"
32+
],
33+
"include": [
34+
"./include"
35+
],
36+
"libraries": [
37+
"-lm"
38+
],
39+
"libpath": [],
40+
"dependencies": [
41+
"@stdlib/math/base/napi/unary",
42+
"@stdlib/math/base/special/sqrt"
43+
]
44+
},
45+
{
46+
"task": "benchmark",
47+
"src": [
48+
"./src/rsqrt.c"
49+
],
50+
"include": [
51+
"./include"
52+
],
53+
"libraries": [
54+
"-lm"
55+
],
56+
"libpath": [],
57+
"dependencies": [
58+
"@stdlib/math/base/special/sqrt"
59+
]
60+
},
61+
{
62+
"task": "examples",
63+
"src": [
64+
"./src/rsqrt.c"
65+
],
66+
"include": [
67+
"./include"
68+
],
69+
"libraries": [
70+
"-lm"
71+
],
72+
"libpath": [],
73+
"dependencies": [
74+
"@stdlib/math/base/special/sqrt"
75+
]
76+
}
77+
]
7878
}
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
{
2-
"options": {},
3-
"fields": [
4-
{
5-
"field": "src",
6-
"resolve": true,
7-
"relative": true
8-
},
9-
{
10-
"field": "include",
11-
"resolve": true,
12-
"relative": true
13-
},
14-
{
15-
"field": "libraries",
16-
"resolve": false,
17-
"relative": false
18-
},
19-
{
20-
"field": "libpath",
21-
"resolve": true,
22-
"relative": false
23-
}
24-
],
25-
"confs": [
26-
{
27-
"src": [
28-
"./src/main.c"
29-
],
30-
"include": [
31-
"./include"
32-
],
33-
"libraries": [],
34-
"libpath": [],
35-
"dependencies": []
36-
}
37-
]
2+
"options": {},
3+
"fields": [
4+
{
5+
"field": "src",
6+
"resolve": true,
7+
"relative": true
8+
},
9+
{
10+
"field": "include",
11+
"resolve": true,
12+
"relative": true
13+
},
14+
{
15+
"field": "libraries",
16+
"resolve": false,
17+
"relative": false
18+
},
19+
{
20+
"field": "libpath",
21+
"resolve": true,
22+
"relative": false
23+
}
24+
],
25+
"confs": [
26+
{
27+
"src": [
28+
"./src/main.c"
29+
],
30+
"include": [
31+
"./include"
32+
],
33+
"libraries": [],
34+
"libpath": [],
35+
"dependencies": []
36+
}
37+
]
3838
}
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
{
2-
"options": {},
3-
"fields": [
4-
{
5-
"field": "src",
6-
"resolve": true,
7-
"relative": true
8-
},
9-
{
10-
"field": "include",
11-
"resolve": true,
12-
"relative": true
13-
},
14-
{
15-
"field": "libraries",
16-
"resolve": false,
17-
"relative": false
18-
},
19-
{
20-
"field": "libpath",
21-
"resolve": true,
22-
"relative": false
23-
}
24-
],
25-
"confs": [
26-
{
27-
"src": [
28-
"./src/main.c"
29-
],
30-
"include": [
31-
"./include"
32-
],
33-
"libraries": [],
34-
"libpath": [],
35-
"dependencies": [
36-
"@stdlib/strided/base/smskmap"
37-
]
38-
}
39-
]
2+
"options": {},
3+
"fields": [
4+
{
5+
"field": "src",
6+
"resolve": true,
7+
"relative": true
8+
},
9+
{
10+
"field": "include",
11+
"resolve": true,
12+
"relative": true
13+
},
14+
{
15+
"field": "libraries",
16+
"resolve": false,
17+
"relative": false
18+
},
19+
{
20+
"field": "libpath",
21+
"resolve": true,
22+
"relative": false
23+
}
24+
],
25+
"confs": [
26+
{
27+
"src": [
28+
"./src/main.c"
29+
],
30+
"include": [
31+
"./include"
32+
],
33+
"libraries": [],
34+
"libpath": [],
35+
"dependencies": [
36+
"@stdlib/strided/base/smskmap"
37+
]
38+
}
39+
]
4040
}

0 commit comments

Comments
 (0)