|
4 | 4 | "parserOptions": {
|
5 | 5 | "project": "tsconfig.json"
|
6 | 6 | },
|
7 |
| - "plugins": ["@typescript-eslint", "eslint-plugin", "import"], |
| 7 | + "plugins": ["@typescript-eslint", "import"], |
8 | 8 | "env": {
|
9 | 9 | "node": true
|
10 | 10 | },
|
11 | 11 | "extends": [
|
12 | 12 | "eslint:recommended",
|
13 | 13 | "plugin:@typescript-eslint/recommended",
|
14 |
| - "plugin:eslint-plugin/recommended", |
15 | 14 | "plugin:import/recommended",
|
16 | 15 | "plugin:import/typescript"
|
17 | 16 | ],
|
18 | 17 | "rules": {
|
19 | 18 | "import/no-unresolved": "off",
|
20 | 19 | "@typescript-eslint/no-explicit-any": "off",
|
21 | 20 | "@typescript-eslint/no-non-null-assertion": "off",
|
22 |
| - "@typescript-eslint/non-nullable-type-assertion-style": "warn", |
23 |
| - "eslint-plugin/meta-property-ordering": "error", |
24 |
| - "eslint-plugin/report-message-format": ["error", "^[A-Z\\{'].*\\.$"], |
25 |
| - "eslint-plugin/test-case-property-ordering": "error", |
26 |
| - "eslint-plugin/require-meta-docs-description": ["error", { "pattern": "^(Enforce|Require|Disallow)" }], |
27 |
| - "eslint-plugin/require-meta-docs-url": ["error", { "pattern": "https://github.com/joshwilsonvu/eslint-plugin-solid/blob/main/docs/{{name}}.md" }] |
28 |
| - } |
| 21 | + "@typescript-eslint/non-nullable-type-assertion-style": "warn" |
| 22 | + }, |
| 23 | + "overrides": [ |
| 24 | + { |
| 25 | + "files": "src/rules/*.ts", |
| 26 | + "plugins": ["eslint-plugin"], |
| 27 | + "extends": ["plugin:eslint-plugin/recommended"], |
| 28 | + "rules": { |
| 29 | + "eslint-plugin/meta-property-ordering": "error", |
| 30 | + "eslint-plugin/report-message-format": ["error", "^[A-Z\\{'].*\\.$"], |
| 31 | + "eslint-plugin/test-case-property-ordering": "error", |
| 32 | + "eslint-plugin/require-meta-docs-description": [ |
| 33 | + "error", |
| 34 | + { "pattern": "^(Enforce|Require|Disallow)" } |
| 35 | + ], |
| 36 | + "eslint-plugin/require-meta-docs-url": [ |
| 37 | + "error", |
| 38 | + { |
| 39 | + "pattern": "https://github.com/joshwilsonvu/eslint-plugin-solid/blob/main/docs/{{name}}.md" |
| 40 | + } |
| 41 | + ] |
| 42 | + } |
| 43 | + }, |
| 44 | + { |
| 45 | + "files": "standalone/**/*.ts", |
| 46 | + "env": { |
| 47 | + "node": false, |
| 48 | + "worker": true |
| 49 | + } |
| 50 | + } |
| 51 | + ] |
29 | 52 | }
|
0 commit comments