@ethberry/eslint-config 5.0.7 → 5.0.9
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/package.json +10 -12
- package/rules/common.mjs +2 -2
- package/rules/react.mjs +3 -3
- package/rules/typescript.mjs +2 -2
- package/tests/mocha.mjs +2 -2
package/package.json
CHANGED
|
@@ -8,25 +8,23 @@
|
|
|
8
8
|
"url": "https://github.com/ethberry/eslint-config/issues"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@eslint/js": "9.
|
|
12
|
-
"@stylistic/eslint-plugin
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"eslint": "9.31.0",
|
|
16
|
-
"eslint-config-prettier": "10.1.5",
|
|
11
|
+
"@eslint/js": "9.34.0",
|
|
12
|
+
"@stylistic/eslint-plugin": "5.2.3",
|
|
13
|
+
"eslint": "9.34.0",
|
|
14
|
+
"eslint-config-prettier": "10.1.8",
|
|
17
15
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
18
16
|
"eslint-plugin-import": "2.32.0",
|
|
19
17
|
"eslint-plugin-jest": "29.0.1",
|
|
20
18
|
"eslint-plugin-mocha": "11.1.0",
|
|
21
|
-
"eslint-plugin-n": "17.21.
|
|
22
|
-
"eslint-plugin-prettier": "5.5.
|
|
19
|
+
"eslint-plugin-n": "17.21.3",
|
|
20
|
+
"eslint-plugin-prettier": "5.5.4",
|
|
23
21
|
"eslint-plugin-promise": "7.2.1",
|
|
24
22
|
"eslint-plugin-react": "7.37.5",
|
|
25
|
-
"eslint-plugin-testing-library": "7.6.
|
|
23
|
+
"eslint-plugin-testing-library": "7.6.6",
|
|
26
24
|
"globals": "16.3.0",
|
|
27
25
|
"prettier": "3.6.2",
|
|
28
|
-
"typescript": "5.
|
|
29
|
-
"typescript-eslint": "8.
|
|
26
|
+
"typescript": "5.9.2",
|
|
27
|
+
"typescript-eslint": "8.40.0"
|
|
30
28
|
},
|
|
31
29
|
"engines": {
|
|
32
30
|
"node": ">=22"
|
|
@@ -48,5 +46,5 @@
|
|
|
48
46
|
},
|
|
49
47
|
"sideEffects": false,
|
|
50
48
|
"title": "EthBerry ESLint config",
|
|
51
|
-
"version": "5.0.
|
|
49
|
+
"version": "5.0.9"
|
|
52
50
|
}
|
package/rules/common.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import js from "@eslint/js";
|
|
2
|
-
import
|
|
2
|
+
import stylistic from "@stylistic/eslint-plugin";
|
|
3
3
|
|
|
4
4
|
export default [
|
|
5
5
|
// base
|
|
@@ -30,7 +30,7 @@ export default [
|
|
|
30
30
|
// stylistic
|
|
31
31
|
{
|
|
32
32
|
plugins: {
|
|
33
|
-
"@stylistic
|
|
33
|
+
"@stylistic": stylistic,
|
|
34
34
|
},
|
|
35
35
|
rules: {
|
|
36
36
|
"max-len": [
|
package/rules/react.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import reactPlugin from "eslint-plugin-react";
|
|
2
2
|
import globals from "globals";
|
|
3
|
-
import
|
|
3
|
+
import stylistic from "@stylistic/eslint-plugin";
|
|
4
4
|
|
|
5
5
|
export default [
|
|
6
6
|
// config
|
|
@@ -38,10 +38,10 @@ export default [
|
|
|
38
38
|
// stylistic
|
|
39
39
|
{
|
|
40
40
|
plugins: {
|
|
41
|
-
"@stylistic
|
|
41
|
+
"@stylistic": stylistic,
|
|
42
42
|
},
|
|
43
43
|
rules: {
|
|
44
|
-
"@stylistic/jsx
|
|
44
|
+
"@stylistic/jsx-indent": ["error", 2],
|
|
45
45
|
},
|
|
46
46
|
},
|
|
47
47
|
]
|
package/rules/typescript.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import tsEslint from "typescript-eslint";
|
|
2
|
-
import
|
|
2
|
+
import stylistic from "@stylistic/eslint-plugin";
|
|
3
3
|
|
|
4
4
|
export default [
|
|
5
5
|
// base
|
|
@@ -55,7 +55,7 @@ export default [
|
|
|
55
55
|
// stylistic
|
|
56
56
|
{
|
|
57
57
|
plugins: {
|
|
58
|
-
"@stylistic
|
|
58
|
+
"@stylistic": stylistic,
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
61
|
]
|
package/tests/mocha.mjs
CHANGED
|
@@ -4,9 +4,9 @@ import mochaPlugin from "eslint-plugin-mocha";
|
|
|
4
4
|
export default [
|
|
5
5
|
{
|
|
6
6
|
files: ["**/*.spec.ts", "**/*.spec.js"],
|
|
7
|
-
...mochaPlugin.configs.
|
|
7
|
+
...mochaPlugin.configs.recommended,
|
|
8
8
|
rules: {
|
|
9
|
-
...mochaPlugin.configs.
|
|
9
|
+
...mochaPlugin.configs.recommended.rules,
|
|
10
10
|
"mocha/no-exports": "off",
|
|
11
11
|
"mocha/no-hooks-for-single-case": "off",
|
|
12
12
|
"mocha/no-skipped-tests": "off",
|