@zetavg/eslint-config 0.0.5-pre.4 → 0.0.7
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 +7 -3
- package/package.json +4 -4
- package/eslint.config.mjs +0 -5
- package/prettier.config.mjs +0 -10
package/README.md
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
# ESLint Config
|
|
2
2
|
|
|
3
|
-
Shared ESLint
|
|
3
|
+
Shared ESLint configuration.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
8
|
+
pnpm add --save-dev @zetavg/eslint-config eslint prettier
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
```bash
|
|
12
|
+
yarn add --dev @zetavg/eslint-config eslint prettier
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Then, add the following to your `eslint.config.mjs` (or `eslint.config.js`):
|
|
12
16
|
|
|
13
17
|
```js
|
|
14
18
|
import { defineConfig } from 'eslint/config';
|
package/package.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@eslint/js": "^10",
|
|
32
|
+
"@eslint/js": "^9 || ^10",
|
|
33
33
|
"@eslint/json": "^1",
|
|
34
34
|
"@eslint/markdown": "^7",
|
|
35
35
|
"@types/eslint": "^9",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"typescript-eslint": "^8"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@zetavg/prettier-config": "^0.0.
|
|
50
|
-
"@zetavg/tsconfig": "^0.0.
|
|
49
|
+
"@zetavg/prettier-config": "^0.0.7",
|
|
50
|
+
"@zetavg/tsconfig": "^0.0.7",
|
|
51
51
|
"eslint": "^9",
|
|
52
52
|
"prettier": "^3",
|
|
53
53
|
"typescript": "~5.8"
|
|
54
54
|
},
|
|
55
|
-
"version": "0.0.
|
|
55
|
+
"version": "0.0.7"
|
|
56
56
|
}
|
package/eslint.config.mjs
DELETED