@theholocron/eslint-config 7.8.0 → 7.9.0
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 +9 -9
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -5,35 +5,35 @@ A [ESLint configuration](https://eslint.org/docs/latest/use/configure/configurat
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
8
|
+
pnpm add -D @theholocron/eslint-config
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Install only the peer dependencies for the presets you use (all are optional except the core):
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
14
|
# Core (always required)
|
|
15
|
-
|
|
15
|
+
pnpm add -D @eslint/js eslint globals
|
|
16
16
|
|
|
17
17
|
# TypeScript
|
|
18
|
-
|
|
18
|
+
pnpm add -D typescript-eslint
|
|
19
19
|
|
|
20
20
|
# React
|
|
21
|
-
|
|
21
|
+
pnpm add -D eslint-plugin-react
|
|
22
22
|
|
|
23
23
|
# Next.js
|
|
24
|
-
|
|
24
|
+
pnpm add -D @next/eslint-plugin-next
|
|
25
25
|
|
|
26
26
|
# Node.js
|
|
27
|
-
|
|
27
|
+
pnpm add -D eslint-plugin-n
|
|
28
28
|
|
|
29
29
|
# Vitest
|
|
30
|
-
|
|
30
|
+
pnpm add -D @vitest/eslint-plugin
|
|
31
31
|
|
|
32
32
|
# Storybook
|
|
33
|
-
|
|
33
|
+
pnpm add -D eslint-plugin-storybook
|
|
34
34
|
|
|
35
35
|
# Cypress
|
|
36
|
-
|
|
36
|
+
pnpm add -D eslint-plugin-cypress
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
## Usage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/eslint-config",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.9.0",
|
|
4
4
|
"description": "A ESLint configuration for writing well-formed Javascript within the Galaxy.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/configs/tree/main/packages/eslint-config#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/configs/issues",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"typescript": "^5.9.3",
|
|
31
31
|
"typescript-eslint": "^8.65.0",
|
|
32
32
|
"vitest": "^4.1.10",
|
|
33
|
-
"@theholocron/tsconfig": "7.
|
|
34
|
-
"@theholocron/vitest-config": "7.
|
|
33
|
+
"@theholocron/tsconfig": "7.9.0",
|
|
34
|
+
"@theholocron/vitest-config": "7.9.0"
|
|
35
35
|
},
|
|
36
36
|
"exports": {
|
|
37
37
|
".": {
|
|
@@ -148,6 +148,7 @@
|
|
|
148
148
|
"scripts": {
|
|
149
149
|
"build": "tsdown",
|
|
150
150
|
"typecheck": "tsc --noEmit",
|
|
151
|
-
"test": "vitest run"
|
|
151
|
+
"test": "vitest run",
|
|
152
|
+
"test:coverage": "vitest run --coverage"
|
|
152
153
|
}
|
|
153
154
|
}
|