|
7 | 7 | "examples/typescript-*/**/*.ts"
|
8 | 8 | ],
|
9 | 9 | "rules": {
|
10 |
| - "import/no-anonymous-default-export": "off", |
11 |
| - "import/no-mutable-exports": "off", |
12 | 10 | "import/order": [
|
13 | 11 | "error",
|
14 | 12 | {
|
|
19 | 17 | }
|
20 | 18 | ],
|
21 | 19 | "import/newline-after-import": "error",
|
22 |
| - "node/no-unsupported-features/es-syntax": "off", |
23 |
| - "no-use-extend-native/no-use-extend-native": "off" |
| 20 | + "unicorn/require-post-message-target-origin": "off" |
24 | 21 | },
|
25 | 22 | "overrides": [
|
26 | 23 | {
|
|
39 | 36 | }
|
40 | 37 | },
|
41 | 38 | {
|
42 |
| - "files": "test-{d,tap}/**/*.ts", |
| 39 | + "files": "{test,test-{d,tap}}/**/*.ts", |
43 | 40 | "rules": {
|
44 | 41 | "@typescript-eslint/explicit-function-return-type": "off",
|
45 | 42 | "@typescript-eslint/no-empty-function": "off",
|
| 43 | + "@typescript-eslint/no-unsafe-assignment": "off", |
46 | 44 | "@typescript-eslint/no-unsafe-call": "off",
|
47 | 45 | "@typescript-eslint/no-unsafe-member-access": "off",
|
48 | 46 | "@typescript-eslint/no-unsafe-return": "off",
|
49 | 47 | "@typescript-eslint/no-unused-vars": "off",
|
50 |
| - "@typescript-eslint/prefer-readonly-parameter-types": "off", |
51 |
| - "import/extensions": "off", |
52 |
| - "no-unused-vars": "off" |
| 48 | + "@typescript-eslint/prefer-readonly-parameter-types": "off" |
53 | 49 | }
|
54 | 50 | },
|
55 | 51 | {
|
56 |
| - "files": "test-tap/**/*.js", |
| 52 | + "files": "{test,test-{d,tap}}/**", |
| 53 | + "rules": { |
| 54 | + "import/no-anonymous-default-export": "off", |
| 55 | + "node/prefer-global/buffer": "off", |
| 56 | + "node/prefer-global/process": "off" |
| 57 | + } |
| 58 | + }, |
| 59 | + { |
| 60 | + "files": "test-tap/**", |
57 | 61 | "rules": {
|
58 | 62 | "promise/prefer-await-to-then": "off",
|
59 | 63 | "unicorn/error-message": "off",
|
|
62 | 66 | }
|
63 | 67 | },
|
64 | 68 | {
|
65 |
| - "files": [ |
66 |
| - "test-tap/fixture/**", |
67 |
| - "test/**/fixtures/**" |
68 |
| - ], |
| 69 | + "files": "test/macros/fixtures/macros.js", |
69 | 70 | "rules": {
|
70 |
| - "ava/no-todo-test": "off", |
71 |
| - "import/no-extraneous-dependencies": "off", |
72 |
| - "import/no-unresolved": "off" |
| 71 | + "ava/no-identical-title": "off" |
73 | 72 | }
|
74 | 73 | },
|
75 | 74 | {
|
76 |
| - "files": "test/macros/fixtures/macros.js", |
| 75 | + "files": [ |
| 76 | + "examples/**", |
| 77 | + "test/snapshot-*/fixtures/**" |
| 78 | + ], |
77 | 79 | "rules": {
|
78 |
| - "ava/no-identical-title": "off" |
| 80 | + "unicorn/prefer-module": "off" |
79 | 81 | }
|
80 | 82 | },
|
81 | 83 | {
|
|
0 commit comments