@nighttrax/eslint-config-ts 12.0.0-alpha.2 → 12.0.0-beta.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/CHANGELOG.md +54 -76
- package/README.md +7 -7
- package/package.json +14 -21
- package/typescript.mjs +74 -0
- package/index.js +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,116 +3,94 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [12.0.0-
|
|
6
|
+
# [12.0.0-beta.0](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-ts@12.0.0-alpha.3...@nighttrax/eslint-config-ts@12.0.0-beta.0) (2025-07-04)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nighttrax/eslint-config-ts
|
|
9
9
|
|
|
10
|
+
# [12.0.0-alpha.3](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-ts@12.0.0-alpha.2...@nighttrax/eslint-config-ts@12.0.0-alpha.3) (2023-04-17)
|
|
10
11
|
|
|
12
|
+
### Bug Fixes
|
|
11
13
|
|
|
14
|
+
- **deps:** update typescript-eslint monorepo to ~5.57.0 ([339bfcb](https://github.com/NiGhTTraX/eslint-config/commit/339bfcb1e325f4d3ce1dc4c614d6518d48113c18))
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
# [12.0.0-alpha.1](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-ts@12.0.0-alpha.0...@nighttrax/eslint-config-ts@12.0.0-alpha.1) (2023-03-20)
|
|
16
|
+
# [12.0.0-alpha.2](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-ts@12.0.0-alpha.1...@nighttrax/eslint-config-ts@12.0.0-alpha.2) (2023-03-20)
|
|
15
17
|
|
|
16
18
|
**Note:** Version bump only for package @nighttrax/eslint-config-ts
|
|
17
19
|
|
|
20
|
+
# [12.0.0-alpha.1](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-ts@12.0.0-alpha.0...@nighttrax/eslint-config-ts@12.0.0-alpha.1) (2023-03-20)
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
**Note:** Version bump only for package @nighttrax/eslint-config-ts
|
|
21
23
|
|
|
22
24
|
# [10.0.0](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-ts@10.0.0-beta.2...@nighttrax/eslint-config-ts@10.0.0) (2022-08-25)
|
|
23
25
|
|
|
24
|
-
|
|
25
26
|
### Bug Fixes
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
28
|
+
- **deps:** update dependency eslint-import-resolver-typescript to ~2.7.0 ([aa68548](https://github.com/NiGhTTraX/eslint-config/commit/aa68548080ce73b548e72500924d0043cdc74ac4))
|
|
29
|
+
- **deps:** update dependency eslint-import-resolver-typescript to ~3.2.0 ([1b7f887](https://github.com/NiGhTTraX/eslint-config/commit/1b7f8874a5f7db3c4d391535397ba157f112d307))
|
|
30
|
+
- **deps:** update dependency eslint-import-resolver-typescript to ~3.3.0 ([948363f](https://github.com/NiGhTTraX/eslint-config/commit/948363f2365dfaa209da18aa0b86ce3076da9579))
|
|
31
|
+
- **deps:** update dependency eslint-import-resolver-typescript to ~3.4.0 ([a45981a](https://github.com/NiGhTTraX/eslint-config/commit/a45981a6148644ffd82f7c1f741b611fc02d2200))
|
|
32
|
+
- **deps:** update dependency eslint-import-resolver-typescript to ~3.5.0 ([fd9b586](https://github.com/NiGhTTraX/eslint-config/commit/fd9b58690eeb9bf5124e3cb0af3d3aebb391fb5d))
|
|
33
|
+
- **deps:** update dependency eslint-import-resolver-typescript to v3 ([8cc5d9d](https://github.com/NiGhTTraX/eslint-config/commit/8cc5d9da548f22a2f25815a2ccf3cbec5d068129))
|
|
34
|
+
- **deps:** update dependency eslint-plugin-import to ~2.26.0 ([34d1654](https://github.com/NiGhTTraX/eslint-config/commit/34d16541be02de0367f190ed2ccedcc8c2d5799c))
|
|
35
|
+
- **deps:** update dependency eslint-plugin-jsx-a11y to ~6.6.0 ([62597e2](https://github.com/NiGhTTraX/eslint-config/commit/62597e2ba8a23f7b02795c47b5c23955770a0ecf))
|
|
36
|
+
- **deps:** update dependency eslint-plugin-prettier to ~4.1.0 ([1641c19](https://github.com/NiGhTTraX/eslint-config/commit/1641c19471618e5c775c53c9f5d3393320d754bc))
|
|
37
|
+
- **deps:** update dependency eslint-plugin-prettier to ~4.2.0 ([371b98f](https://github.com/NiGhTTraX/eslint-config/commit/371b98fbb445f693984614807084c06f6f15dcc0))
|
|
38
|
+
- **deps:** update dependency eslint-plugin-react to ~7.29.0 ([748a74c](https://github.com/NiGhTTraX/eslint-config/commit/748a74cf6b04dc02fd823cee50e1a1fa0d76e9f3))
|
|
39
|
+
- **deps:** update dependency eslint-plugin-react to ~7.30.0 ([de82c5f](https://github.com/NiGhTTraX/eslint-config/commit/de82c5fde798bd2e33adaf02aca39fe7e4ac4507))
|
|
40
|
+
- **deps:** update dependency eslint-plugin-react to ~7.31.0 ([c29b065](https://github.com/NiGhTTraX/eslint-config/commit/c29b0658d3f3a118e8fcc27a2af44c8fe429c24a))
|
|
41
|
+
- **deps:** update dependency eslint-plugin-react-hooks to ~4.4.0 ([7850328](https://github.com/NiGhTTraX/eslint-config/commit/7850328d5b69f1abf63304b5319e2765523a7fbb))
|
|
42
|
+
- **deps:** update dependency eslint-plugin-react-hooks to ~4.5.0 ([884bf63](https://github.com/NiGhTTraX/eslint-config/commit/884bf63de0f32704468b63995f129c15f842925e))
|
|
43
|
+
- **deps:** update dependency eslint-plugin-react-hooks to ~4.6.0 ([7e8637b](https://github.com/NiGhTTraX/eslint-config/commit/7e8637be31e8ed40f527f7b83991fc5cdfa75210))
|
|
44
|
+
- **deps:** update dependency prettier to ~2.6.0 ([66702f3](https://github.com/NiGhTTraX/eslint-config/commit/66702f3d5a0285b4d511ccd8e0983a1584e9b161))
|
|
45
|
+
- **deps:** update dependency prettier to ~2.7.0 ([dd152e0](https://github.com/NiGhTTraX/eslint-config/commit/dd152e093f072b99bff914b2b3066a7eba5119f1))
|
|
46
|
+
- **deps:** update typescript-eslint monorepo to ~5.10.0 ([6bea838](https://github.com/NiGhTTraX/eslint-config/commit/6bea838ed1e094aed6b5a060b4e8b50ef6f154bb))
|
|
47
|
+
- **deps:** update typescript-eslint monorepo to ~5.11.0 ([e39b801](https://github.com/NiGhTTraX/eslint-config/commit/e39b80183fb6b3f34ffbff628e4ef4b93bfb4351))
|
|
48
|
+
- **deps:** update typescript-eslint monorepo to ~5.12.0 ([420d4fc](https://github.com/NiGhTTraX/eslint-config/commit/420d4fcfcb156ff243ec673717f5fdc6b80d19ea))
|
|
49
|
+
- **deps:** update typescript-eslint monorepo to ~5.13.0 ([fd2881b](https://github.com/NiGhTTraX/eslint-config/commit/fd2881b8e089d823146d65583596869a02fa0d0f))
|
|
50
|
+
- **deps:** update typescript-eslint monorepo to ~5.14.0 ([93e1041](https://github.com/NiGhTTraX/eslint-config/commit/93e1041c93ad47430811970c0a841c6dfe042e44))
|
|
51
|
+
- **deps:** update typescript-eslint monorepo to ~5.15.0 ([fe2fa10](https://github.com/NiGhTTraX/eslint-config/commit/fe2fa1014597010222b26ee71fe7ec853bdf9503))
|
|
52
|
+
- **deps:** update typescript-eslint monorepo to ~5.16.0 ([f4c9cf4](https://github.com/NiGhTTraX/eslint-config/commit/f4c9cf4ad284dbd71b67ec663e945b5c9d2691c7))
|
|
53
|
+
- **deps:** update typescript-eslint monorepo to ~5.17.0 ([1c8fa70](https://github.com/NiGhTTraX/eslint-config/commit/1c8fa705640ac5166abe7db1e3c01ae079966f19))
|
|
54
|
+
- **deps:** update typescript-eslint monorepo to ~5.18.0 ([4a1f2a1](https://github.com/NiGhTTraX/eslint-config/commit/4a1f2a1ef0a57c181018b9ed8954d1a1e4fe109c))
|
|
55
|
+
- **deps:** update typescript-eslint monorepo to ~5.19.0 ([ca55f11](https://github.com/NiGhTTraX/eslint-config/commit/ca55f118cb1ac809b136e06ad986a88469cbecd0))
|
|
56
|
+
- **deps:** update typescript-eslint monorepo to ~5.20.0 ([d400a4c](https://github.com/NiGhTTraX/eslint-config/commit/d400a4caf65ddd4790e546f99fa0b58946960bdb))
|
|
57
|
+
- **deps:** update typescript-eslint monorepo to ~5.21.0 ([b9a21c7](https://github.com/NiGhTTraX/eslint-config/commit/b9a21c7dc3478bf2501a3c623eea65ec1235be8d))
|
|
58
|
+
- **deps:** update typescript-eslint monorepo to ~5.22.0 ([a4a245a](https://github.com/NiGhTTraX/eslint-config/commit/a4a245a30fc4ce94e7338175e686dee12b21fc04))
|
|
59
|
+
- **deps:** update typescript-eslint monorepo to ~5.25.0 ([d6853bd](https://github.com/NiGhTTraX/eslint-config/commit/d6853bdc38267461b8815023601a8c31bd2f4e8e))
|
|
60
|
+
- **deps:** update typescript-eslint monorepo to ~5.26.0 ([2b350f3](https://github.com/NiGhTTraX/eslint-config/commit/2b350f36b178ad5473d6239f58b907f159cf84d5))
|
|
61
|
+
- **deps:** update typescript-eslint monorepo to ~5.27.0 ([09201f9](https://github.com/NiGhTTraX/eslint-config/commit/09201f993430c314fd8435ffd8b16205e52f7eeb))
|
|
62
|
+
- **deps:** update typescript-eslint monorepo to ~5.28.0 ([546d2c4](https://github.com/NiGhTTraX/eslint-config/commit/546d2c420feece937ad57e50402d652883317cdd))
|
|
63
|
+
- **deps:** update typescript-eslint monorepo to ~5.29.0 ([4e504a7](https://github.com/NiGhTTraX/eslint-config/commit/4e504a71e60f03ba9109509286ced399f9efafe9))
|
|
64
|
+
- **deps:** update typescript-eslint monorepo to ~5.30.0 ([18e9958](https://github.com/NiGhTTraX/eslint-config/commit/18e9958b89d70c392c8655781bd10ab9381c904d))
|
|
65
|
+
- **deps:** update typescript-eslint monorepo to ~5.31.0 ([867b97a](https://github.com/NiGhTTraX/eslint-config/commit/867b97a8b7db0a7c9afe6c380b4a29ba7d769ecc))
|
|
66
|
+
- **deps:** update typescript-eslint monorepo to ~5.32.0 ([b86e191](https://github.com/NiGhTTraX/eslint-config/commit/b86e191c4c6937182cafdff95a6bc7de5c9583bc))
|
|
67
|
+
- **deps:** update typescript-eslint monorepo to ~5.33.0 ([fc5ce21](https://github.com/NiGhTTraX/eslint-config/commit/fc5ce21da0fda498ee4707e80ec28f7dd750959f))
|
|
68
|
+
- **deps:** update typescript-eslint monorepo to ~5.34.0 ([6d2ffdd](https://github.com/NiGhTTraX/eslint-config/commit/6d2ffdd9240c0a3bc881aa3c8772106a8238f0f6))
|
|
69
|
+
- **deps:** update typescript-eslint monorepo to ~5.35.0 ([7d6d91f](https://github.com/NiGhTTraX/eslint-config/commit/7d6d91f66713cd79aee142c1df53c2a479e7890e))
|
|
70
|
+
- **deps:** update typescript-eslint monorepo to ~5.9.0 ([3ff65f2](https://github.com/NiGhTTraX/eslint-config/commit/3ff65f285351f0b6ae33fd9e481fb7d1a339ed14))
|
|
74
71
|
|
|
75
72
|
## [8.0.4](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-ts@8.0.3...@nighttrax/eslint-config-ts@8.0.4) (2021-02-21)
|
|
76
73
|
|
|
77
|
-
|
|
78
74
|
### Bug Fixes
|
|
79
75
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
76
|
+
- **deps:** update dependency eslint-import-resolver-typescript to ~2.4.0 ([65807d7](https://github.com/NiGhTTraX/eslint-config/commit/65807d750abe14b88db67f7443e16559f0a2f6a3))
|
|
77
|
+
- **deps:** update typescript-eslint monorepo to ~4.15.0 ([009d41f](https://github.com/NiGhTTraX/eslint-config/commit/009d41f82719f85da9784b32b54b48dbe37dcc27))
|
|
86
78
|
|
|
87
79
|
## [8.0.3](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-ts@8.0.2...@nighttrax/eslint-config-ts@8.0.3) (2021-01-27)
|
|
88
80
|
|
|
89
81
|
**Note:** Version bump only for package @nighttrax/eslint-config-ts
|
|
90
82
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
83
|
## [8.0.2](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-ts@8.0.1...@nighttrax/eslint-config-ts@8.0.2) (2021-01-11)
|
|
96
84
|
|
|
97
|
-
|
|
98
85
|
### Bug Fixes
|
|
99
86
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
87
|
+
- **ts:** Disable flaky no-redeclare core rule ([1fad70d](https://github.com/NiGhTTraX/eslint-config/commit/1fad70dc60c5486cf03ea7a8b2a6efae813fafe6))
|
|
105
88
|
|
|
106
89
|
## [8.0.1](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-ts@8.0.0...@nighttrax/eslint-config-ts@8.0.1) (2021-01-08)
|
|
107
90
|
|
|
108
|
-
|
|
109
91
|
### Bug Fixes
|
|
110
92
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
93
|
+
- **ts:** Ignore unused rest siblings ([064e4bf](https://github.com/NiGhTTraX/eslint-config/commit/064e4bf802d0182afc71885d3f5de598b75d96ba))
|
|
116
94
|
|
|
117
95
|
# [8.0.0](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-ts@8.0.0-alpha.0...@nighttrax/eslint-config-ts@8.0.0) (2021-01-07)
|
|
118
96
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## Intro
|
|
2
2
|
|
|
3
|
-
My ESLint config for TS projects.
|
|
3
|
+
My ESLint config for TS projects.
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
## Install
|
|
@@ -13,10 +13,10 @@ npm i @nighttrax/eslint-config-ts
|
|
|
13
13
|
## Use
|
|
14
14
|
|
|
15
15
|
```js
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
import { defineConfig } from "eslint/config";
|
|
17
|
+
import { nighttraxTS } from "@nighttrax/eslint-config-ts";
|
|
18
|
+
|
|
19
|
+
export default defineConfig([
|
|
20
|
+
nighttraxTS
|
|
21
|
+
]);
|
|
22
22
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nighttrax/eslint-config-ts",
|
|
3
|
-
"version": "12.0.0-
|
|
3
|
+
"version": "12.0.0-beta.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,34 +12,27 @@
|
|
|
12
12
|
],
|
|
13
13
|
"author": "Andrei Picus <NiGhTTraX@users.noreply.github.com>",
|
|
14
14
|
"license": "MIT",
|
|
15
|
-
"main": "
|
|
15
|
+
"main": "typescript.mjs",
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
18
|
"url": "git+https://github.com/NiGhTTraX/eslint-config.git"
|
|
19
19
|
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"test": "../../test.sh mugshot ts"
|
|
22
|
-
},
|
|
23
20
|
"dependencies": {
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"eslint-import-
|
|
29
|
-
"eslint-plugin-
|
|
30
|
-
"eslint
|
|
31
|
-
"eslint-plugin-prettier": "~4.2.0",
|
|
32
|
-
"eslint-plugin-react": "~7.32.0",
|
|
33
|
-
"eslint-plugin-react-hooks": "~4.6.0",
|
|
34
|
-
"prettier": "~2.8.0"
|
|
21
|
+
"@eslint/js": "~9.30.1",
|
|
22
|
+
"@typescript-eslint/parser": "~8.35.1",
|
|
23
|
+
"eslint-config-prettier": "~10.1.5",
|
|
24
|
+
"eslint-import-resolver-typescript": "~4.4.4",
|
|
25
|
+
"eslint-plugin-import-x": "~4.16.1",
|
|
26
|
+
"eslint-plugin-prettier": "~5.5.1",
|
|
27
|
+
"typescript-eslint": "~8.35.1"
|
|
35
28
|
},
|
|
36
29
|
"peerDependencies": {
|
|
37
|
-
"eslint": "^
|
|
38
|
-
"
|
|
30
|
+
"eslint": "^9.0.0",
|
|
31
|
+
"prettier": "^3.0.0"
|
|
39
32
|
},
|
|
40
33
|
"devDependencies": {
|
|
41
|
-
"eslint": "~
|
|
42
|
-
"
|
|
34
|
+
"eslint": "~9.30.1",
|
|
35
|
+
"prettier": "~3.6.2"
|
|
43
36
|
},
|
|
44
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "08d414c017075a0630fae6c105089cbac5b024fd"
|
|
45
38
|
}
|
package/typescript.mjs
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import pluginJs from "@eslint/js";
|
|
2
|
+
import tsEslint from "typescript-eslint";
|
|
3
|
+
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
|
4
|
+
import * as pluginImportX from "eslint-plugin-import-x";
|
|
5
|
+
import * as tsParser from "@typescript-eslint/parser";
|
|
6
|
+
import { defineConfig } from "eslint/config";
|
|
7
|
+
|
|
8
|
+
const EXTENSIONS = "{js,mjs,cjs,ts,jsx,tsx}";
|
|
9
|
+
|
|
10
|
+
export const nighttraxTS = defineConfig([
|
|
11
|
+
{
|
|
12
|
+
files: [`**/*.${EXTENSIONS}`],
|
|
13
|
+
languageOptions: { parser: tsParser },
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
pluginJs.configs.recommended,
|
|
17
|
+
...tsEslint.configs.recommended,
|
|
18
|
+
eslintPluginPrettierRecommended,
|
|
19
|
+
pluginImportX.flatConfigs.recommended,
|
|
20
|
+
pluginImportX.flatConfigs.typescript,
|
|
21
|
+
|
|
22
|
+
{
|
|
23
|
+
rules: {
|
|
24
|
+
"arrow-body-style": ["error", "as-needed"],
|
|
25
|
+
"object-shorthand": "error",
|
|
26
|
+
curly: ["error", "all"],
|
|
27
|
+
"padding-line-between-statements": [
|
|
28
|
+
"error",
|
|
29
|
+
{ blankLine: "always", prev: "*", next: "return" },
|
|
30
|
+
{ blankLine: "always", prev: "*", next: "block-like" },
|
|
31
|
+
{ blankLine: "always", prev: "*", next: "if" },
|
|
32
|
+
{ blankLine: "always", prev: "*", next: "export" },
|
|
33
|
+
{ blankLine: "always", prev: "*", next: "const" },
|
|
34
|
+
{ blankLine: "any", prev: "const", next: "const" },
|
|
35
|
+
{ blankLine: "never", prev: "import", next: "import" },
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
{
|
|
41
|
+
rules: {
|
|
42
|
+
// TypeScript should report incorrect imports.
|
|
43
|
+
"import-x/no-named-as-default-member": "off",
|
|
44
|
+
"import-x/namespace": "off",
|
|
45
|
+
"import-x/no-extraneous-dependencies": [
|
|
46
|
+
"error",
|
|
47
|
+
{
|
|
48
|
+
devDependencies: [
|
|
49
|
+
`**/webpack.config.${EXTENSIONS}`,
|
|
50
|
+
`**/rollup.config.${EXTENSIONS}`,
|
|
51
|
+
`**/vite.config.${EXTENSIONS}`,
|
|
52
|
+
`**/.storybook/main.${EXTENSIONS}`,
|
|
53
|
+
`**/.storybook/preview.${EXTENSIONS}`,
|
|
54
|
+
`**/eslint.config.${EXTENSIONS}`,
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
{
|
|
62
|
+
rules: {
|
|
63
|
+
"@typescript-eslint/no-explicit-any": "warn",
|
|
64
|
+
"@typescript-eslint/consistent-type-imports": "error",
|
|
65
|
+
"@typescript-eslint/no-unused-vars": [
|
|
66
|
+
"error",
|
|
67
|
+
{
|
|
68
|
+
caughtErrors: "none",
|
|
69
|
+
ignoreRestSiblings: true,
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
]);
|