@nighttrax/eslint-config-tsx 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 +50 -73
- package/README.md +7 -7
- package/package.json +12 -22
- package/react.mjs +51 -0
- package/index.js +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,115 +3,92 @@
|
|
|
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-tsx@12.0.0-alpha.3...@nighttrax/eslint-config-tsx@12.0.0-beta.0) (2025-07-04)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nighttrax/eslint-config-tsx
|
|
9
9
|
|
|
10
|
+
# [12.0.0-alpha.3](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-tsx@12.0.0-alpha.2...@nighttrax/eslint-config-tsx@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-tsx@12.0.0-alpha.0...@nighttrax/eslint-config-tsx@12.0.0-alpha.1) (2023-03-20)
|
|
16
|
+
# [12.0.0-alpha.2](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-tsx@12.0.0-alpha.1...@nighttrax/eslint-config-tsx@12.0.0-alpha.2) (2023-03-20)
|
|
15
17
|
|
|
16
18
|
**Note:** Version bump only for package @nighttrax/eslint-config-tsx
|
|
17
19
|
|
|
20
|
+
# [12.0.0-alpha.1](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-tsx@12.0.0-alpha.0...@nighttrax/eslint-config-tsx@12.0.0-alpha.1) (2023-03-20)
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
**Note:** Version bump only for package @nighttrax/eslint-config-tsx
|
|
21
23
|
|
|
22
24
|
# [10.0.0](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-tsx@10.0.0-beta.2...@nighttrax/eslint-config-tsx@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.5](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-tsx@8.0.4...@nighttrax/eslint-config-tsx@8.0.5) (2021-02-21)
|
|
76
73
|
|
|
77
74
|
**Note:** Version bump only for package @nighttrax/eslint-config-tsx
|
|
78
75
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
76
|
## [8.0.4](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-tsx@8.0.3...@nighttrax/eslint-config-tsx@8.0.4) (2021-01-27)
|
|
84
77
|
|
|
85
78
|
**Note:** Version bump only for package @nighttrax/eslint-config-tsx
|
|
86
79
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
80
|
## [8.0.3](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-tsx@8.0.2...@nighttrax/eslint-config-tsx@8.0.3) (2021-01-24)
|
|
92
81
|
|
|
93
82
|
**Note:** Version bump only for package @nighttrax/eslint-config-tsx
|
|
94
83
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
84
|
## [8.0.2](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-tsx@8.0.1...@nighttrax/eslint-config-tsx@8.0.2) (2021-01-11)
|
|
100
85
|
|
|
101
86
|
**Note:** Version bump only for package @nighttrax/eslint-config-tsx
|
|
102
87
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
88
|
## [8.0.1](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-tsx@8.0.0...@nighttrax/eslint-config-tsx@8.0.1) (2021-01-08)
|
|
108
89
|
|
|
109
90
|
**Note:** Version bump only for package @nighttrax/eslint-config-tsx
|
|
110
91
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
92
|
# [8.0.0](https://github.com/NiGhTTraX/eslint-config/compare/@nighttrax/eslint-config-tsx@8.0.0-alpha.0...@nighttrax/eslint-config-tsx@8.0.0) (2021-01-07)
|
|
116
93
|
|
|
117
94
|
**Note:** Version bump only for package @nighttrax/eslint-config-tsx
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## Intro
|
|
2
2
|
|
|
3
|
-
My ESLint config for TS
|
|
3
|
+
My ESLint config for TS+React projects.
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
## Install
|
|
@@ -13,10 +13,10 @@ npm i @nighttrax/eslint-config-tsx
|
|
|
13
13
|
## Use
|
|
14
14
|
|
|
15
15
|
```js
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
import { defineConfig } from "eslint/config";
|
|
17
|
+
import { nighttraxReact } from "@nighttrax/eslint-config-tsx";
|
|
18
|
+
|
|
19
|
+
export default defineConfig([
|
|
20
|
+
nighttraxReact
|
|
21
|
+
]);
|
|
22
22
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nighttrax/eslint-config-tsx",
|
|
3
|
-
"version": "12.0.0-
|
|
3
|
+
"version": "12.0.0-beta.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -13,35 +13,25 @@
|
|
|
13
13
|
],
|
|
14
14
|
"author": "Andrei Picus <NiGhTTraX@users.noreply.github.com>",
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"main": "
|
|
16
|
+
"main": "react.mjs",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
19
|
"url": "git+https://github.com/NiGhTTraX/eslint-config.git"
|
|
20
20
|
},
|
|
21
|
-
"scripts": {
|
|
22
|
-
"test": "../../test.sh tdd-buffet tsx"
|
|
23
|
-
},
|
|
24
21
|
"dependencies": {
|
|
25
|
-
"@nighttrax/eslint-config-
|
|
26
|
-
"@
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"eslint
|
|
31
|
-
"eslint-plugin-import": "~2.27.0",
|
|
32
|
-
"eslint-plugin-jsx-a11y": "~6.7.0",
|
|
33
|
-
"eslint-plugin-prettier": "~4.2.0",
|
|
34
|
-
"eslint-plugin-react": "~7.32.0",
|
|
35
|
-
"eslint-plugin-react-hooks": "~4.6.0",
|
|
36
|
-
"prettier": "~2.8.0"
|
|
22
|
+
"@nighttrax/eslint-config-ts": "12.0.0-beta.0",
|
|
23
|
+
"@typescript-eslint/parser": "~8.35.1",
|
|
24
|
+
"eslint-plugin-react": "~7.37.5",
|
|
25
|
+
"eslint-plugin-react-hooks": "~5.2.0",
|
|
26
|
+
"globals": "~16.3.0",
|
|
27
|
+
"typescript-eslint": "~8.35.1"
|
|
37
28
|
},
|
|
38
29
|
"peerDependencies": {
|
|
39
|
-
"eslint": "^
|
|
40
|
-
"typescript": "^4.0.2 || ^5.0.0"
|
|
30
|
+
"eslint": "^9.0.0"
|
|
41
31
|
},
|
|
42
32
|
"devDependencies": {
|
|
43
|
-
"eslint": "~
|
|
44
|
-
"
|
|
33
|
+
"eslint": "~9.30.1",
|
|
34
|
+
"prettier": "~3.6.2"
|
|
45
35
|
},
|
|
46
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "08d414c017075a0630fae6c105089cbac5b024fd"
|
|
47
37
|
}
|
package/react.mjs
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import globals from "globals";
|
|
2
|
+
import tsEslint from "typescript-eslint";
|
|
3
|
+
import * as tsParser from "@typescript-eslint/parser";
|
|
4
|
+
import pluginReact from "eslint-plugin-react";
|
|
5
|
+
import * as reactHooks from "eslint-plugin-react-hooks";
|
|
6
|
+
import { nighttraxTS } from "@nighttrax/eslint-config-ts";
|
|
7
|
+
|
|
8
|
+
export const nighttraxReact = tsEslint.config([
|
|
9
|
+
nighttraxTS,
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"],
|
|
13
|
+
languageOptions: { globals: globals.browser, parser: tsParser },
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
pluginReact.configs.flat.all,
|
|
17
|
+
reactHooks.configs["recommended-latest"],
|
|
18
|
+
|
|
19
|
+
{
|
|
20
|
+
settings: {
|
|
21
|
+
react: {
|
|
22
|
+
version: "detect",
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
rules: {
|
|
26
|
+
"react/react-in-jsx-scope": "off",
|
|
27
|
+
"react/display-name": "off",
|
|
28
|
+
"react/prefer-read-only-props": "off",
|
|
29
|
+
"react/function-component-definition": "off",
|
|
30
|
+
"react/no-multi-comp": "off",
|
|
31
|
+
"react/jsx-filename-extension": "off",
|
|
32
|
+
"react/jsx-max-depth": "off",
|
|
33
|
+
"react/jsx-no-bind": "off",
|
|
34
|
+
"react/require-default-props": "off",
|
|
35
|
+
"react/jsx-sort-props": "off",
|
|
36
|
+
"react/jsx-no-literals": "off", // TODO: enable for translations
|
|
37
|
+
"react/destructuring-assignment": "off",
|
|
38
|
+
"react/jsx-props-no-spreading": "off",
|
|
39
|
+
"react/jsx-handler-names": "off",
|
|
40
|
+
"react/no-unused-prop-types": "off",
|
|
41
|
+
"react/forbid-component-props": "off",
|
|
42
|
+
"react/hook-use-state": "off",
|
|
43
|
+
|
|
44
|
+
// Autofocus is said to disorient users with cognitive disabilities.
|
|
45
|
+
// However, the same spec
|
|
46
|
+
// (https://w3c.github.io/html/sec-forms.html#autofocusing-a-form-control-the-autofocus-attribute)
|
|
47
|
+
// says that user agents should provide a way to disable autofocus behavior.
|
|
48
|
+
"jsx-a11y/no-autofocus": "off",
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
]);
|
package/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
require("@rushstack/eslint-patch/modern-module-resolution");
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
extends: [
|
|
5
|
-
"@nighttrax/eslint-config-react",
|
|
6
|
-
// base comes after react because it includes prettier, and it needs to be the last.
|
|
7
|
-
"@nighttrax/eslint-config-base",
|
|
8
|
-
],
|
|
9
|
-
|
|
10
|
-
settings: {
|
|
11
|
-
"import/parsers": {
|
|
12
|
-
"@typescript-eslint/parser": [".ts", ".tsx"],
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
};
|