eslint-config-aether 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/default.js +3 -3
- package/package.json +61 -61
- package/typescript.js +1 -0
package/default.js
CHANGED
|
@@ -33,7 +33,7 @@ export default {
|
|
|
33
33
|
"no-caller": "error",
|
|
34
34
|
"no-console": "off",
|
|
35
35
|
"no-debugger": "warn",
|
|
36
|
-
"no-else-return": "
|
|
36
|
+
"no-else-return": "warn",
|
|
37
37
|
"no-extend-native": "error",
|
|
38
38
|
"no-extra-bind": "error",
|
|
39
39
|
"no-iterator": "error",
|
|
@@ -44,7 +44,7 @@ export default {
|
|
|
44
44
|
"no-new-func": "error",
|
|
45
45
|
"no-new-object": "error",
|
|
46
46
|
"no-new-wrappers": "error",
|
|
47
|
-
"no-undef-init": "
|
|
47
|
+
"no-undef-init": "warn",
|
|
48
48
|
"no-underscore-dangle": ["warn", {
|
|
49
49
|
"allowAfterThis": true
|
|
50
50
|
}],
|
|
@@ -66,7 +66,7 @@ export default {
|
|
|
66
66
|
"@stylistic/comma-style": ["warn", "last"],
|
|
67
67
|
"@stylistic/computed-property-spacing": ["warn", "never"],
|
|
68
68
|
"@stylistic/eol-last": ["warn", "always"],
|
|
69
|
-
"@stylistic/
|
|
69
|
+
"@stylistic/function-call-spacing": ["warn", "never"],
|
|
70
70
|
"@stylistic/indent": ["warn", "tab", {
|
|
71
71
|
"SwitchCase": 1
|
|
72
72
|
}],
|
package/package.json
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
2
|
+
"name": "eslint-config-aether",
|
|
3
|
+
"version": "2.0.3",
|
|
4
|
+
"description": "A custom code style for ESLint.",
|
|
5
|
+
"homepage": "https://github.com/vanruesc/eslint-config-aether",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"license": "Zlib",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./index.d.ts",
|
|
12
|
+
"default": "./index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"eslint",
|
|
17
|
+
"eslintconfig",
|
|
18
|
+
"lint",
|
|
19
|
+
"hint",
|
|
20
|
+
"style",
|
|
21
|
+
"syntax",
|
|
22
|
+
"check",
|
|
23
|
+
"typescript",
|
|
24
|
+
"ts"
|
|
25
|
+
],
|
|
26
|
+
"author": {
|
|
27
|
+
"name": "Raoul van Rüschen",
|
|
28
|
+
"email": "vanruesc@outlook.de"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"url": "git+https://github.com/vanruesc/eslint-config-aether.git"
|
|
32
|
+
},
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/vanruesc/eslint-config-aether/issues"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"default.js",
|
|
38
|
+
"index.js",
|
|
39
|
+
"index.d.ts",
|
|
40
|
+
"typescript.js"
|
|
41
|
+
],
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"eslint": "9.x.x"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@eslint/js": "9.x.x",
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "8.x.x",
|
|
48
|
+
"@typescript-eslint/parser": "8.x.x",
|
|
49
|
+
"@stylistic/eslint-plugin": "5.x.x",
|
|
50
|
+
"globals": "16.x.x"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"npm-run-all": "4.x.x"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"debug:js": "eslint --debug -c index.js test/test.js",
|
|
57
|
+
"debug:ts": "eslint --debug -c index.js test/test.ts",
|
|
58
|
+
"test": "run-p test:*",
|
|
59
|
+
"test:js": "eslint -c index.js test/test.js",
|
|
60
|
+
"test:ts": "eslint -c index.js test/test.ts"
|
|
61
|
+
}
|
|
62
|
+
}
|
package/typescript.js
CHANGED
|
@@ -20,6 +20,7 @@ export default {
|
|
|
20
20
|
"no-undef": "off",
|
|
21
21
|
"no-underscore-dangle": "off",
|
|
22
22
|
"no-unused-vars": "off",
|
|
23
|
+
"@typescript-eslint/dot-notation": "warn",
|
|
23
24
|
"@typescript-eslint/no-empty-function": "off",
|
|
24
25
|
"@typescript-eslint/no-unused-vars": ["warn", {
|
|
25
26
|
"vars": "all",
|