@ethang/eslint-config 18.4.7 → 18.4.8
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 +5 -11
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
[View Config](https://eslint-config-ethang.pages.dev/rules)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Do **NOT** use this with Prettier! Styling rules are included.
|
|
6
|
+
|
|
7
|
+
* 615 errored rules.
|
|
6
8
|
* 142 rules from vanilla EsLint
|
|
7
9
|
* 113 rules from [sindresorhus/eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
|
|
8
10
|
* 104 rules from [@typescript/eslint](https://github.com/typescript-eslint/typescript-eslint)
|
|
11
|
+
* 92 rules from [@stylistic/eslint-plugin](https://eslint.style/)
|
|
9
12
|
* 42 rules from [eslint-plugin-lodash](https://github.com/wix-incubator/eslint-plugin-lodash)
|
|
10
13
|
* 35 rules from [jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y)
|
|
11
14
|
* 32 rules from [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs)
|
|
@@ -17,7 +20,6 @@
|
|
|
17
20
|
* 3 rules from [@tanstack/eslint-plugin-query](https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query)
|
|
18
21
|
* 1 rule from [eslint-plugin-depend](https://github.com/es-tooling/eslint-plugin-depend/tree/main)
|
|
19
22
|
* 1 rule from [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat)
|
|
20
|
-
* Includes Prettier built-in (do NOT use this with a separate Prettier config.)
|
|
21
23
|
|
|
22
24
|
# Add Even More!
|
|
23
25
|
* 51 rules for **Astro**
|
|
@@ -33,7 +35,7 @@
|
|
|
33
35
|
|
|
34
36
|
# Install
|
|
35
37
|
|
|
36
|
-
`pnpm i -D eslint
|
|
38
|
+
`pnpm i -D eslint typescript-eslint @ethang/eslint-config`
|
|
37
39
|
|
|
38
40
|
**Requires TypesScript and tsconfig.json at root directory.**
|
|
39
41
|
|
|
@@ -79,11 +81,3 @@ This config will also lint for browserslist features. Make sure to set this in p
|
|
|
79
81
|
"maintained node versions"
|
|
80
82
|
]
|
|
81
83
|
```
|
|
82
|
-
|
|
83
|
-
**.gitattributes**
|
|
84
|
-
|
|
85
|
-
Line breaks are enforced for Unix style. (\n, not \r\n). It's highly recommended reflecting this in .gitattributes
|
|
86
|
-
|
|
87
|
-
```githubexpressionlanguage
|
|
88
|
-
* text eol=crlf
|
|
89
|
-
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethang/eslint-config",
|
|
3
|
-
"version": "18.4.
|
|
3
|
+
"version": "18.4.8",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "git+https://github.com/eglove/eslint-config-ethang.git"
|
|
6
6
|
},
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"author": "Ethan Glover",
|
|
17
17
|
"license": "ISC",
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@eslint-react/eslint-plugin": "^1.9.
|
|
19
|
+
"@eslint-react/eslint-plugin": "^1.9.1",
|
|
20
20
|
"@eslint/js": "^9.8.0",
|
|
21
21
|
"@stylistic/eslint-plugin": "^2.6.1",
|
|
22
22
|
"@tanstack/eslint-plugin-query": "^5.51.15",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"typescript-eslint": "^8.0.1"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@eslint-react/eslint-plugin": "^1.9.
|
|
42
|
+
"@eslint-react/eslint-plugin": "^1.9.1",
|
|
43
43
|
"@eslint/js": "^9.8.0",
|
|
44
44
|
"@stylistic/eslint-plugin": "^2.6.1",
|
|
45
45
|
"@tanstack/eslint-plugin-query": "^5.51.15",
|