@ethang/eslint-config 17.0.8 → 17.0.10
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/eslint.config.js +1 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
[View Config](https://eslint-config-ethang.pages.dev/rules)
|
|
4
4
|
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* 591 errored rules.
|
|
6
|
+
* 142 rules from vanilla EsLint
|
|
7
7
|
* 112 rules from [sindresorhus/eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
|
|
8
8
|
* 102 rules from [@typescript/eslint](https://github.com/typescript-eslint/typescript-eslint)
|
|
9
9
|
* 74 rules from [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react)
|
package/eslint.config.js
CHANGED
|
@@ -400,6 +400,7 @@ export default tseslint.config(
|
|
|
400
400
|
"one-var": "off",
|
|
401
401
|
"operator-assignment": "error",
|
|
402
402
|
"padding-line-between-statements": "off",
|
|
403
|
+
"prefer-arrow-callback": "error",
|
|
403
404
|
"prefer-const": "error",
|
|
404
405
|
"prefer-destructuring": "off", // Handled by tseslint
|
|
405
406
|
"prefer-exponentiation-operator": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethang/eslint-config",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.10",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "git+https://github.com/eglove/eslint-config-ethang.git"
|
|
6
6
|
},
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"eslint": "^9.5.0",
|
|
23
23
|
"eslint-config-prettier": "^9.1.0",
|
|
24
24
|
"eslint-plugin-astro": "^1.2.2",
|
|
25
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
25
|
+
"eslint-plugin-jsx-a11y": "^6.9.0",
|
|
26
26
|
"eslint-plugin-n": "^17.9.0",
|
|
27
27
|
"eslint-plugin-perfectionist": "^2.11.0",
|
|
28
28
|
"eslint-plugin-prettier": "^5.1.3",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"eslint": "^9.5.0",
|
|
42
42
|
"eslint-config-prettier": "^9.1.0",
|
|
43
43
|
"eslint-plugin-astro": "^1.2.2",
|
|
44
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
44
|
+
"eslint-plugin-jsx-a11y": "^6.9.0",
|
|
45
45
|
"eslint-plugin-n": "^17.9.0",
|
|
46
46
|
"eslint-plugin-perfectionist": "^2.11.0",
|
|
47
47
|
"eslint-plugin-prettier": "^5.1.3",
|