@viclafouch/eslint-config-viclafouch 4.21.0 → 4.21.1-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/index.mjs +10 -0
- package/package.json +7 -6
- package/reset.d.ts +0 -5
- package/rules/node.mjs +1 -1
package/index.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import eslintPluginUnicorn from 'eslint-plugin-unicorn'
|
|
2
|
+
import globals from 'globals'
|
|
1
3
|
import bestPracticesConfig from './rules/best-practices.mjs'
|
|
2
4
|
import errorConfig from './rules/errors.mjs'
|
|
3
5
|
import es6Config from './rules/es6.mjs'
|
|
@@ -16,6 +18,14 @@ export default [
|
|
|
16
18
|
reportUnusedDisableDirectives: 'error'
|
|
17
19
|
}
|
|
18
20
|
},
|
|
21
|
+
{
|
|
22
|
+
languageOptions: {
|
|
23
|
+
globals: globals.builtin
|
|
24
|
+
},
|
|
25
|
+
plugins: {
|
|
26
|
+
unicorn: eslintPluginUnicorn
|
|
27
|
+
}
|
|
28
|
+
},
|
|
19
29
|
bestPracticesConfig,
|
|
20
30
|
nodeConfig,
|
|
21
31
|
errorConfig,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viclafouch/eslint-config-viclafouch",
|
|
3
|
-
"version": "4.21.
|
|
3
|
+
"version": "4.21.1-beta.1",
|
|
4
4
|
"description": "ESLint and Prettier Config from Victor de la Fouchardiere",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/core": "^7.26.9",
|
|
34
34
|
"@babel/eslint-parser": "^7.26.8",
|
|
35
|
+
"@eslint/js": "^9.21.0",
|
|
35
36
|
"@next/eslint-plugin-next": "^15.2.1",
|
|
36
37
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
37
38
|
"app-root-path": "^3.1.0",
|
|
@@ -43,16 +44,16 @@
|
|
|
43
44
|
"eslint-plugin-promise": "^7.2.1",
|
|
44
45
|
"eslint-plugin-react": "^7.37.4",
|
|
45
46
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
47
|
+
"eslint-plugin-unicorn": "^58.0.0",
|
|
46
48
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
47
49
|
"eslint-plugin-testing-library": "^7.1.1",
|
|
48
50
|
"get-tsconfig": "^4.10.0",
|
|
49
51
|
"globals": "^16.0.0",
|
|
50
52
|
"prettier": ">= 3",
|
|
51
|
-
"typescript-eslint": "^8.26.0",
|
|
52
|
-
"@eslint/js": "^9.21.0",
|
|
53
53
|
"prettier-plugin-curly": "^0.3.1",
|
|
54
|
-
"
|
|
55
|
-
"typescript": "
|
|
54
|
+
"typescript": ">= 5",
|
|
55
|
+
"typescript-eslint": "^8.26.0",
|
|
56
|
+
"eslint": ">= 9"
|
|
56
57
|
},
|
|
57
58
|
"scripts": {
|
|
58
59
|
"lint": "eslint .",
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
"publish:beta": "npm publish --tag beta"
|
|
64
65
|
},
|
|
65
66
|
"devDependencies": {
|
|
66
|
-
"eslint": "^9.
|
|
67
|
+
"eslint": "^9.24.0",
|
|
67
68
|
"typescript": "^5.7.2"
|
|
68
69
|
}
|
|
69
70
|
}
|
package/reset.d.ts
CHANGED