@bitfactory/eslint-config 7.0.0 → 8.0.0-beta.1
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/README.md +2 -2
- package/package.json +23 -19
- package/rules/stylistic.js +0 -6
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @bitfactory/eslint-config
|
|
2
2
|
|
|
3
|
-
[](https://github.com/bitfactory-nl/shared-npm-eslint-config-bitfactory)
|
|
4
4
|
[](https://lbesson.mit-license.org/)
|
|
5
|
-
[](https://eslint.org/)
|
|
6
6
|
[](https://nodejs.org/)
|
|
7
7
|
[](https://github.com/bitfactory-nl/shared-npm-eslint-config-bitfactory/actions/workflows/npm-publish.yml)
|
|
8
8
|
[](https://npmjs.com/package/@bitfactory/eslint-config)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitfactory/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-beta.1",
|
|
4
4
|
"description": "ESLint sharable config for Bitfactory NL (part of NOBEARS) projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
"linting",
|
|
15
15
|
"stylistic"
|
|
16
16
|
],
|
|
17
|
-
"repository":
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/bitfactory-nl/shared-npm-eslint-config-bitfactory.git"
|
|
20
|
+
},
|
|
18
21
|
"license": "MIT",
|
|
19
22
|
"author": "Bitfactory NL (part of NOBEARS)",
|
|
20
23
|
"type": "module",
|
|
@@ -36,6 +39,15 @@
|
|
|
36
39
|
"README.md",
|
|
37
40
|
"QUICKSTART.md"
|
|
38
41
|
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"eslint": "eslint '**/*.{cjs,js,mjs}'",
|
|
44
|
+
"eslint:fix": "pnpm run eslint --fix",
|
|
45
|
+
"lint": "pnpm run eslint",
|
|
46
|
+
"lint:fix": "pnpm run eslint:fix",
|
|
47
|
+
"update:interactive": "pnpm exec npm-check-updates -i",
|
|
48
|
+
"update:minor": "pnpm exec npm-check-updates -i -t minor",
|
|
49
|
+
"update:patch": "pnpm exec npm-check-updates -t patch"
|
|
50
|
+
},
|
|
39
51
|
"devDependencies": {
|
|
40
52
|
"eslint": "9.39.1",
|
|
41
53
|
"lint-staged": "16.2.6",
|
|
@@ -45,18 +57,18 @@
|
|
|
45
57
|
"peerDependencies": {
|
|
46
58
|
"@babel/core": ">=7.26.10",
|
|
47
59
|
"@babel/eslint-parser": ">=7.26.10",
|
|
48
|
-
"@eslint/js": "^9.
|
|
49
|
-
"@stylistic/eslint-plugin": ">=
|
|
60
|
+
"@eslint/js": "^9.38.0",
|
|
61
|
+
"@stylistic/eslint-plugin": ">=5.0.0",
|
|
50
62
|
"@typescript-eslint/eslint-plugin": ">=8.0.0",
|
|
51
63
|
"@typescript-eslint/parser": ">=8.0.0",
|
|
52
|
-
"eslint": "^9.
|
|
64
|
+
"eslint": "^9.38.0",
|
|
53
65
|
"eslint-config-flat-gitignore": "^2.0.0",
|
|
54
66
|
"eslint-plugin-import": ">=2.31.0",
|
|
55
|
-
"eslint-plugin-jsdoc": ">=
|
|
56
|
-
"eslint-plugin-unicorn": "
|
|
67
|
+
"eslint-plugin-jsdoc": ">=61.0.0",
|
|
68
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
57
69
|
"eslint-plugin-vue": ">=10.0.0",
|
|
58
|
-
"eslint-plugin-vuejs-accessibility": ">=
|
|
59
|
-
"globals": ">=
|
|
70
|
+
"eslint-plugin-vuejs-accessibility": ">=2.0.0",
|
|
71
|
+
"globals": ">=16.0.0",
|
|
60
72
|
"typescript": ">=4.8.4",
|
|
61
73
|
"vue-eslint-parser": ">=10.1.1"
|
|
62
74
|
},
|
|
@@ -80,16 +92,8 @@
|
|
|
80
92
|
"optional": true
|
|
81
93
|
}
|
|
82
94
|
},
|
|
95
|
+
"packageManager": "pnpm@9.15.9",
|
|
83
96
|
"engines": {
|
|
84
97
|
"node": "^20.9.0 || ^22.11.0 || ^24.11.0"
|
|
85
|
-
},
|
|
86
|
-
"scripts": {
|
|
87
|
-
"eslint": "eslint '**/*.{cjs,js,mjs}'",
|
|
88
|
-
"eslint:fix": "pnpm run eslint --fix",
|
|
89
|
-
"lint": "pnpm run eslint",
|
|
90
|
-
"lint:fix": "pnpm run eslint:fix",
|
|
91
|
-
"update:interactive": "pnpm exec npm-check-updates -i",
|
|
92
|
-
"update:minor": "pnpm exec npm-check-updates -i -t minor",
|
|
93
|
-
"update:patch": "pnpm exec npm-check-updates -t patch"
|
|
94
98
|
}
|
|
95
|
-
}
|
|
99
|
+
}
|
package/rules/stylistic.js
CHANGED
|
@@ -100,12 +100,6 @@ export const stylisticRules = {
|
|
|
100
100
|
'@stylistic/type-annotation-spacing': ['error', {
|
|
101
101
|
before: false,
|
|
102
102
|
after: true,
|
|
103
|
-
overrides: {
|
|
104
|
-
arrow: {
|
|
105
|
-
before: true,
|
|
106
|
-
after: true,
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
103
|
}],
|
|
110
104
|
'@stylistic/wrap-regex': 'error',
|
|
111
105
|
'@stylistic/yield-star-spacing': ['error', 'after'],
|