@abinnovision/eslint-config-base 3.0.3 → 3.1.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 +19 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
ESLint configuration for JavaScript and TypeScript projects.
|
|
4
4
|
|
|
5
|
+
## ESLint Compatibility
|
|
6
|
+
|
|
7
|
+
This package requires **ESLint v9** (`^9.0.0`). ESLint v10 is **not** supported
|
|
8
|
+
because key plugins in the ecosystem have not yet released compatible versions.
|
|
9
|
+
|
|
10
|
+
Until all dependencies fully support ESLint v10, we pin to v9 to ensure a stable
|
|
11
|
+
and working configuration out of the box.
|
|
12
|
+
|
|
13
|
+
## External ESLint Plugin Dependencies
|
|
14
|
+
|
|
15
|
+
| Plugin | Purpose |
|
|
16
|
+
| ------------------------------ | ----------------------------------------------------- |
|
|
17
|
+
| `@eslint/js` | ESLint core recommended rule set |
|
|
18
|
+
| `typescript-eslint` | TypeScript parser and strict type-checked rule set |
|
|
19
|
+
| `eslint-plugin-import` | Import ordering, grouping, and validation |
|
|
20
|
+
| `eslint-plugin-unused-imports` | Detect and auto-fix unused imports and variables |
|
|
21
|
+
| `@vitest/eslint-plugin` | Vitest-specific rules for test files (vitest flavour) |
|
|
22
|
+
| `globals` | Environment globals (e.g. Node.js for config files) |
|
|
23
|
+
|
|
5
24
|
## Installation
|
|
6
25
|
|
|
7
26
|
```shell
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abinnovision/eslint-config-base",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.1.0-beta.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"npm": true,
|
|
6
6
|
"ghpr": true,
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"prettier": "@abinnovision/prettier-config",
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@eslint/js": "^
|
|
50
|
+
"@eslint/js": "^9.0.0",
|
|
51
51
|
"@vitest/eslint-plugin": "^1.6.9",
|
|
52
52
|
"eslint-plugin-import": "^2.32.0",
|
|
53
53
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
"typescript": "^5.9.3"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"eslint": "^9.0.0
|
|
65
|
+
"eslint": "^9.0.0"
|
|
66
66
|
}
|
|
67
67
|
}
|