Skip to content

Commit c9ad950

Browse files
committed
fix: disable more ESLint rules
1 parent 05a39fa commit c9ad950

File tree

3 files changed

+122
-5
lines changed

3 files changed

+122
-5
lines changed

.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
"react/jsx-fragments": "off",
2020
// Disable prefer default export
2121
"import/prefer-default-export": "off",
22-
"@typescript-eslint/object-curly-spacing": "off"
22+
"@typescript-eslint/object-curly-spacing": "off",
23+
"react/jsx-filename-extension": [0],
24+
"import/extensions": "off",
25+
"import/no-extraneous-dependencies": "off"
2326
},
2427
"overrides": [
2528
{

template/.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
// Disable prefer default export
1818
"import/prefer-default-export": "off",
1919
"comma-dangle": "off",
20-
"@typescript-eslint/object-curly-spacing": "off"
20+
"@typescript-eslint/object-curly-spacing": "off",
21+
"react/jsx-filename-extension": [0],
22+
"import/extensions": "off",
23+
"import/no-extraneous-dependencies": "off"
2124
},
2225
"overrides": [
2326
{

yarn.lock

Lines changed: 114 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3340,7 +3340,17 @@
33403340
eslint-scope "^5.0.0"
33413341
eslint-utils "^2.0.0"
33423342

3343-
"@typescript-eslint/parser@^4.5.0", "@typescript-eslint/parser@^4.8.1":
3343+
"@typescript-eslint/parser@5.9.0":
3344+
version "5.9.0"
3345+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.9.0.tgz#fdbb08767a4caa6ca6ccfed5f9ffe9387f0c7d97"
3346+
integrity sha512-/6pOPz8yAxEt4PLzgbFRDpZmHnXCeZgPDrh/1DaVKOjvn/UPMlWhbx/gA96xRi2JxY1kBl2AmwVbyROUqys5xQ==
3347+
dependencies:
3348+
"@typescript-eslint/scope-manager" "5.9.0"
3349+
"@typescript-eslint/types" "5.9.0"
3350+
"@typescript-eslint/typescript-estree" "5.9.0"
3351+
debug "^4.3.2"
3352+
3353+
"@typescript-eslint/parser@^4.5.0":
33443354
version "4.8.1"
33453355
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.8.1.tgz#4fe2fbdbb67485bafc4320b3ae91e34efe1219d1"
33463356
integrity sha512-QND8XSVetATHK9y2Ltc/XBl5Ro7Y62YuZKnPEwnNPB8E379fDsvzJ1dMJ46fg/VOmk0hXhatc+GXs5MaXuL5Uw==
@@ -3358,6 +3368,14 @@
33583368
"@typescript-eslint/types" "4.8.1"
33593369
"@typescript-eslint/visitor-keys" "4.8.1"
33603370

3371+
"@typescript-eslint/scope-manager@5.9.0":
3372+
version "5.9.0"
3373+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.9.0.tgz#02dfef920290c1dcd7b1999455a3eaae7a1a3117"
3374+
integrity sha512-DKtdIL49Qxk2a8icF6whRk7uThuVz4A6TCXfjdJSwOsf+9ree7vgQWcx0KOyCdk0i9ETX666p4aMhrRhxhUkyg==
3375+
dependencies:
3376+
"@typescript-eslint/types" "5.9.0"
3377+
"@typescript-eslint/visitor-keys" "5.9.0"
3378+
33613379
"@typescript-eslint/types@3.10.1":
33623380
version "3.10.1"
33633381
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-3.10.1.tgz#1d7463fa7c32d8a23ab508a803ca2fe26e758727"
@@ -3368,6 +3386,11 @@
33683386
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.8.1.tgz#23829c73c5fc6f4fcd5346a7780b274f72fee222"
33693387
integrity sha512-ave2a18x2Y25q5K05K/U3JQIe2Av4+TNi/2YuzyaXLAsDx6UZkz1boZ7nR/N6Wwae2PpudTZmHFXqu7faXfHmA==
33703388

3389+
"@typescript-eslint/types@5.9.0":
3390+
version "5.9.0"
3391+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.9.0.tgz#e5619803e39d24a03b3369506df196355736e1a3"
3392+
integrity sha512-mWp6/b56Umo1rwyGCk8fPIzb9Migo8YOniBGPAQDNC6C52SeyNGN4gsVwQTAR+RS2L5xyajON4hOLwAGwPtUwg==
3393+
33713394
"@typescript-eslint/typescript-estree@3.10.1":
33723395
version "3.10.1"
33733396
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-3.10.1.tgz#fd0061cc38add4fad45136d654408569f365b853"
@@ -3396,6 +3419,19 @@
33963419
semver "^7.3.2"
33973420
tsutils "^3.17.1"
33983421

3422+
"@typescript-eslint/typescript-estree@5.9.0":
3423+
version "5.9.0"
3424+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.9.0.tgz#0e5c6f03f982931abbfbc3c1b9df5fbf92a3490f"
3425+
integrity sha512-kxo3xL2mB7XmiVZcECbaDwYCt3qFXz99tBSuVJR4L/sR7CJ+UNAPrYILILktGj1ppfZ/jNt/cWYbziJUlHl1Pw==
3426+
dependencies:
3427+
"@typescript-eslint/types" "5.9.0"
3428+
"@typescript-eslint/visitor-keys" "5.9.0"
3429+
debug "^4.3.2"
3430+
globby "^11.0.4"
3431+
is-glob "^4.0.3"
3432+
semver "^7.3.5"
3433+
tsutils "^3.21.0"
3434+
33993435
"@typescript-eslint/visitor-keys@3.10.1":
34003436
version "3.10.1"
34013437
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-3.10.1.tgz#cd4274773e3eb63b2e870ac602274487ecd1e931"
@@ -3411,6 +3447,14 @@
34113447
"@typescript-eslint/types" "4.8.1"
34123448
eslint-visitor-keys "^2.0.0"
34133449

3450+
"@typescript-eslint/visitor-keys@5.9.0":
3451+
version "5.9.0"
3452+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.9.0.tgz#7585677732365e9d27f1878150fab3922784a1a6"
3453+
integrity sha512-6zq0mb7LV0ThExKlecvpfepiB+XEtFv/bzx7/jKSgyXTFD7qjmSu1FoiS0x3OZaiS+UIXpH2vd9O89f02RCtgw==
3454+
dependencies:
3455+
"@typescript-eslint/types" "5.9.0"
3456+
eslint-visitor-keys "^3.0.0"
3457+
34143458
"@webassemblyjs/ast@1.9.0":
34153459
version "1.9.0"
34163460
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.9.0.tgz#bd850604b4042459a5a41cd7d338cbed695ed964"
@@ -6075,6 +6119,13 @@ debug@^3.1.0, debug@^3.1.1, debug@^3.2.6:
60756119
dependencies:
60766120
ms "^2.1.1"
60776121

6122+
debug@^4.3.2:
6123+
version "4.3.3"
6124+
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664"
6125+
integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==
6126+
dependencies:
6127+
ms "2.1.2"
6128+
60786129
debuglog@^1.0.1:
60796130
version "1.0.1"
60806131
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
@@ -7058,6 +7109,11 @@ eslint-visitor-keys@^2.0.0:
70587109
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8"
70597110
integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==
70607111

7112+
eslint-visitor-keys@^3.0.0:
7113+
version "3.1.0"
7114+
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz#eee4acea891814cda67a7d8812d9647dd0179af2"
7115+
integrity sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==
7116+
70617117
eslint-webpack-plugin@^2.5.2:
70627118
version "2.5.3"
70637119
resolved "https://registry.yarnpkg.com/eslint-webpack-plugin/-/eslint-webpack-plugin-2.5.3.tgz#a125585a1d8bb9c939f2a920a9bc9be4a21cdb58"
@@ -7452,6 +7508,17 @@ fast-glob@^3.1.1:
74527508
micromatch "^4.0.2"
74537509
picomatch "^2.2.1"
74547510

7511+
fast-glob@^3.2.9:
7512+
version "3.2.10"
7513+
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.10.tgz#2734f83baa7f43b7fd41e13bc34438f4ffe284ee"
7514+
integrity sha512-s9nFhFnvR63wls6/kM88kQqDhMu0AfdjqouE2l5GVQPbqLgyFjjU5ry/r2yKsJxpb9Py1EYNqieFrmMaX4v++A==
7515+
dependencies:
7516+
"@nodelib/fs.stat" "^2.0.2"
7517+
"@nodelib/fs.walk" "^1.2.3"
7518+
glob-parent "^5.1.2"
7519+
merge2 "^1.3.0"
7520+
micromatch "^4.0.4"
7521+
74557522
fast-json-stable-stringify@^2.0.0:
74567523
version "2.0.0"
74577524
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
@@ -8046,7 +8113,7 @@ glob-parent@^5.0.0, glob-parent@~5.1.0:
80468113
dependencies:
80478114
is-glob "^4.0.1"
80488115

8049-
glob-parent@^5.1.0:
8116+
glob-parent@^5.1.0, glob-parent@^5.1.2:
80508117
version "5.1.2"
80518118
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
80528119
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
@@ -8163,6 +8230,18 @@ globby@11.0.1, globby@^11.0.0, globby@^11.0.1:
81638230
merge2 "^1.3.0"
81648231
slash "^3.0.0"
81658232

8233+
globby@^11.0.4:
8234+
version "11.1.0"
8235+
resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"
8236+
integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==
8237+
dependencies:
8238+
array-union "^2.1.0"
8239+
dir-glob "^3.0.1"
8240+
fast-glob "^3.2.9"
8241+
ignore "^5.2.0"
8242+
merge2 "^1.4.1"
8243+
slash "^3.0.0"
8244+
81668245
globby@^6.1.0:
81678246
version "6.1.0"
81688247
resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c"
@@ -8706,6 +8785,11 @@ ignore@^5.1.4:
87068785
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57"
87078786
integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==
87088787

8788+
ignore@^5.2.0:
8789+
version "5.2.0"
8790+
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a"
8791+
integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==
8792+
87098793
immer@8.0.1:
87108794
version "8.0.1"
87118795
resolved "https://registry.yarnpkg.com/immer/-/immer-8.0.1.tgz#9c73db683e2b3975c424fb0572af5889877ae656"
@@ -9182,6 +9266,13 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1:
91829266
dependencies:
91839267
is-extglob "^2.1.1"
91849268

9269+
is-glob@^4.0.3:
9270+
version "4.0.3"
9271+
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
9272+
integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
9273+
dependencies:
9274+
is-extglob "^2.1.1"
9275+
91859276
is-installed-globally@^0.3.2:
91869277
version "0.3.2"
91879278
resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.3.2.tgz#fd3efa79ee670d1187233182d5b0a1dd00313141"
@@ -10834,7 +10925,7 @@ merge-stream@^2.0.0:
1083410925
resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
1083510926
integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==
1083610927

10837-
merge2@^1.3.0:
10928+
merge2@^1.3.0, merge2@^1.4.1:
1083810929
version "1.4.1"
1083910930
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
1084010931
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
@@ -10886,6 +10977,14 @@ micromatch@^4.0.0, micromatch@^4.0.2:
1088610977
braces "^3.0.1"
1088710978
picomatch "^2.0.5"
1088810979

10980+
micromatch@^4.0.4:
10981+
version "4.0.4"
10982+
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9"
10983+
integrity sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==
10984+
dependencies:
10985+
braces "^3.0.1"
10986+
picomatch "^2.2.3"
10987+
1088910988
miller-rabin@^4.0.0:
1089010989
version "4.0.1"
1089110990
resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d"
@@ -12385,6 +12484,11 @@ picomatch@^2.0.5, picomatch@^2.2.1, picomatch@^2.2.2:
1238512484
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
1238612485
integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==
1238712486

12487+
picomatch@^2.2.3:
12488+
version "2.3.1"
12489+
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
12490+
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
12491+
1238812492
pify@^2.0.0, pify@^2.2.0:
1238912493
version "2.3.0"
1239012494
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
@@ -15944,6 +16048,13 @@ tsutils@^3.17.1:
1594416048
dependencies:
1594516049
tslib "^1.8.1"
1594616050

16051+
tsutils@^3.21.0:
16052+
version "3.21.0"
16053+
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623"
16054+
integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==
16055+
dependencies:
16056+
tslib "^1.8.1"
16057+
1594716058
tty-browserify@0.0.0:
1594816059
version "0.0.0"
1594916060
resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"

0 commit comments

Comments
 (0)