Skip to content

Commit cf9e825

Browse files
committed
chore: 🤖 update linter preset
1 parent f3df8b0 commit cf9e825

File tree

4 files changed

+72
-31
lines changed

4 files changed

+72
-31
lines changed

Diff for: ‎.eslintrc

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
},
77
"rules": {
88
"@typescript-eslint/no-explicit-any": "off",
9+
"@typescript-eslint/ban-types": "off",
910
"no-console": "off"
1011
}
1112
}

Diff for: ‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"devDependencies": {
6363
"@babel/core": "^7.10.2",
6464
"@babel/preset-env": "^7.10.2",
65-
"@kiwi/eslint-config": "^1.0.0",
65+
"@kiwi/eslint-config": "^1.2.0",
6666
"@kiwi/prettier-config": "^1.1.0",
6767
"@types/jest": "^25.2.3",
6868
"@types/node": "^14.0.11",

Diff for: ‎test/autoProcess/script.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sveltePreprocess from '../../src';
22
import { preprocess, getFixtureContent } from '../utils';
33

4-
const SCRIPT_LANGS: Array<[string, string, object?]> = [
4+
const SCRIPT_LANGS: Array<[string, string, any?]> = [
55
['coffeescript', 'coffee'],
66
[
77
'typescript',

Diff for: ‎yarn.lock

+69-29
Original file line numberDiff line numberDiff line change
@@ -1005,18 +1005,18 @@
10051005
"@types/yargs" "^15.0.0"
10061006
chalk "^3.0.0"
10071007

1008-
"@kiwi/eslint-config@^1.0.0":
1009-
version "1.0.0"
1010-
resolved "https://registry.yarnpkg.com/@kiwi/eslint-config/-/eslint-config-1.0.0.tgz#ab11e6fbef76544f1b15892bcb41bc3088cdee3a"
1011-
integrity sha512-CcXWVpr+9x3npJilOr4baLZQ18rW5a7TTucRl9363Ryhxo90pHuO95KSK2utv0h3C7O9yFTyyCtlwHR5I8skqg==
1008+
"@kiwi/eslint-config@^1.2.0":
1009+
version "1.2.0"
1010+
resolved "https://registry.yarnpkg.com/@kiwi/eslint-config/-/eslint-config-1.2.0.tgz#152472d5753cadb4e1bfd25c7b5f17712b21e6b0"
1011+
integrity sha512-3DfWbFmLMxx+5w3pxDJ6Qt1n2nxm3Td+IFWEk235Et49ZI50TNR5n60lgUdKMyxCc+2NwBkkmb6gSuooKrWE1A==
10121012
dependencies:
1013-
"@typescript-eslint/eslint-plugin" "^2.17.0"
1014-
"@typescript-eslint/parser" "^2.17.0"
1013+
"@typescript-eslint/eslint-plugin" "^3.10.1"
1014+
"@typescript-eslint/parser" "^3.10.1"
10151015
confusing-browser-globals "^1.0.9"
1016-
eslint-config-prettier "^6.9.0"
1017-
eslint-plugin-import "^2.20.0"
1018-
eslint-plugin-jest "^23.7.0"
1019-
eslint-plugin-prettier "^3.1.2"
1016+
eslint-config-prettier "^6.11.0"
1017+
eslint-plugin-import "^2.22.0"
1018+
eslint-plugin-jest "^23.20.0"
1019+
eslint-plugin-prettier "^3.1.4"
10201020
eslint-plugin-svelte3 "^2.7.3"
10211021

10221022
"@kiwi/prettier-config@^1.1.0":
@@ -1187,17 +1187,30 @@
11871187
dependencies:
11881188
"@types/yargs-parser" "*"
11891189

1190-
"@typescript-eslint/eslint-plugin@^2.17.0":
1191-
version "2.34.0"
1192-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.34.0.tgz#6f8ce8a46c7dea4a6f1d171d2bb8fbae6dac2be9"
1193-
integrity sha512-4zY3Z88rEE99+CNvTbXSyovv2z9PNOVffTWD2W8QF5s2prBQtwN2zadqERcrHpcR7O/+KMI3fcTAmUUhK/iQcQ==
1190+
"@typescript-eslint/eslint-plugin@^3.10.1":
1191+
version "3.10.1"
1192+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.10.1.tgz#7e061338a1383f59edc204c605899f93dc2e2c8f"
1193+
integrity sha512-PQg0emRtzZFWq6PxBcdxRH3QIQiyFO3WCVpRL3fgj5oQS3CDs3AeAKfv4DxNhzn8ITdNJGJ4D3Qw8eAJf3lXeQ==
11941194
dependencies:
1195-
"@typescript-eslint/experimental-utils" "2.34.0"
1195+
"@typescript-eslint/experimental-utils" "3.10.1"
1196+
debug "^4.1.1"
11961197
functional-red-black-tree "^1.0.1"
11971198
regexpp "^3.0.0"
1199+
semver "^7.3.2"
11981200
tsutils "^3.17.1"
11991201

1200-
"@typescript-eslint/[email protected]", "@typescript-eslint/experimental-utils@^2.5.0":
1202+
"@typescript-eslint/[email protected]":
1203+
version "3.10.1"
1204+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-3.10.1.tgz#e179ffc81a80ebcae2ea04e0332f8b251345a686"
1205+
integrity sha512-DewqIgscDzmAfd5nOGe4zm6Bl7PKtMG2Ad0KG8CUZAHlXfAKTF9Ol5PXhiMh39yRL2ChRH1cuuUGOcVyyrhQIw==
1206+
dependencies:
1207+
"@types/json-schema" "^7.0.3"
1208+
"@typescript-eslint/types" "3.10.1"
1209+
"@typescript-eslint/typescript-estree" "3.10.1"
1210+
eslint-scope "^5.0.0"
1211+
eslint-utils "^2.0.0"
1212+
1213+
"@typescript-eslint/experimental-utils@^2.5.0":
12011214
version "2.34.0"
12021215
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.34.0.tgz#d3524b644cdb40eebceca67f8cf3e4cc9c8f980f"
12031216
integrity sha512-eS6FTkq+wuMJ+sgtuNTtcqavWXqsflWcfBnlYhg/nS4aZ1leewkXGbvBhaapn1q6qf4M71bsR1tez5JTRMuqwA==
@@ -1207,16 +1220,22 @@
12071220
eslint-scope "^5.0.0"
12081221
eslint-utils "^2.0.0"
12091222

1210-
"@typescript-eslint/parser@^2.17.0":
1211-
version "2.34.0"
1212-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.34.0.tgz#50252630ca319685420e9a39ca05fe185a256bc8"
1213-
integrity sha512-03ilO0ucSD0EPTw2X4PntSIRFtDPWjrVq7C3/Z3VQHRC7+13YB55rcJI3Jt+YgeHbjUdJPcPa7b23rXCBokuyA==
1223+
"@typescript-eslint/parser@^3.10.1":
1224+
version "3.10.1"
1225+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-3.10.1.tgz#1883858e83e8b442627e1ac6f408925211155467"
1226+
integrity sha512-Ug1RcWcrJP02hmtaXVS3axPPTTPnZjupqhgj+NnZ6BCkwSImWk/283347+x9wN+lqOdK9Eo3vsyiyDHgsmiEJw==
12141227
dependencies:
12151228
"@types/eslint-visitor-keys" "^1.0.0"
1216-
"@typescript-eslint/experimental-utils" "2.34.0"
1217-
"@typescript-eslint/typescript-estree" "2.34.0"
1229+
"@typescript-eslint/experimental-utils" "3.10.1"
1230+
"@typescript-eslint/types" "3.10.1"
1231+
"@typescript-eslint/typescript-estree" "3.10.1"
12181232
eslint-visitor-keys "^1.1.0"
12191233

1234+
"@typescript-eslint/[email protected]":
1235+
version "3.10.1"
1236+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-3.10.1.tgz#1d7463fa7c32d8a23ab508a803ca2fe26e758727"
1237+
integrity sha512-+3+FCUJIahE9q0lDi1WleYzjCwJs5hIsbugIgnbB+dSCYUxl8L6PwmsyOPFZde2hc1DlTo/xnkOgiTLSyAbHiQ==
1238+
12201239
"@typescript-eslint/[email protected]":
12211240
version "2.34.0"
12221241
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.34.0.tgz#14aeb6353b39ef0732cc7f1b8285294937cf37d5"
@@ -1230,6 +1249,27 @@
12301249
semver "^7.3.2"
12311250
tsutils "^3.17.1"
12321251

1252+
"@typescript-eslint/[email protected]":
1253+
version "3.10.1"
1254+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-3.10.1.tgz#fd0061cc38add4fad45136d654408569f365b853"
1255+
integrity sha512-QbcXOuq6WYvnB3XPsZpIwztBoquEYLXh2MtwVU+kO8jgYCiv4G5xrSP/1wg4tkvrEE+esZVquIPX/dxPlePk1w==
1256+
dependencies:
1257+
"@typescript-eslint/types" "3.10.1"
1258+
"@typescript-eslint/visitor-keys" "3.10.1"
1259+
debug "^4.1.1"
1260+
glob "^7.1.6"
1261+
is-glob "^4.0.1"
1262+
lodash "^4.17.15"
1263+
semver "^7.3.2"
1264+
tsutils "^3.17.1"
1265+
1266+
"@typescript-eslint/[email protected]":
1267+
version "3.10.1"
1268+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-3.10.1.tgz#cd4274773e3eb63b2e870ac602274487ecd1e931"
1269+
integrity sha512-9JgC82AaQeglebjZMgYR5wgmfUdUc+EitGUUMW8u2nDckaeimzW+VsoLV6FoimPv2id3VQzfjwBxEMVz08ameQ==
1270+
dependencies:
1271+
eslint-visitor-keys "^1.1.0"
1272+
12331273
JSONStream@^1.0.4:
12341274
version "1.3.5"
12351275
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
@@ -2815,7 +2855,7 @@ escodegen@^1.11.1:
28152855
optionalDependencies:
28162856
source-map "~0.6.1"
28172857

2818-
eslint-config-prettier@^6.9.0:
2858+
eslint-config-prettier@^6.11.0:
28192859
version "6.11.0"
28202860
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.11.0.tgz#f6d2238c1290d01c859a8b5c1f7d352a0b0da8b1"
28212861
integrity sha512-oB8cpLWSAjOVFEJhhyMZh6NOEOtBVziaqdDQ86+qhDHFbZXoRTM7pNSvFRfW/W/L/LrQ38C99J5CGuRBBzBsdA==
@@ -2838,7 +2878,7 @@ eslint-module-utils@^2.6.0:
28382878
debug "^2.6.9"
28392879
pkg-dir "^2.0.0"
28402880

2841-
eslint-plugin-import@^2.20.0:
2881+
eslint-plugin-import@^2.22.0:
28422882
version "2.22.0"
28432883
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.22.0.tgz#92f7736fe1fde3e2de77623c838dd992ff5ffb7e"
28442884
integrity sha512-66Fpf1Ln6aIS5Gr/55ts19eUuoDhAbZgnr6UxK5hbDx6l/QgQgx61AePq+BV4PP2uXQFClgMVzep5zZ94qqsxg==
@@ -2857,14 +2897,14 @@ eslint-plugin-import@^2.20.0:
28572897
resolve "^1.17.0"
28582898
tsconfig-paths "^3.9.0"
28592899

2860-
eslint-plugin-jest@^23.7.0:
2861-
version "23.18.0"
2862-
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-23.18.0.tgz#4813eacb181820ed13c5505f400956d176b25af8"
2863-
integrity sha512-wLPM/Rm1SGhxrFQ2TKM/BYsYPhn7ch6ZEK92S2o/vGkAAnDXM0I4nTIo745RIX+VlCRMFgBuJEax6XfTHMdeKg==
2900+
eslint-plugin-jest@^23.20.0:
2901+
version "23.20.0"
2902+
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-23.20.0.tgz#e1d69c75f639e99d836642453c4e75ed22da4099"
2903+
integrity sha512-+6BGQt85OREevBDWCvhqj1yYA4+BFK4XnRZSGJionuEYmcglMZYLNNBBemwzbqUAckURaHdJSBcjHPyrtypZOw==
28642904
dependencies:
28652905
"@typescript-eslint/experimental-utils" "^2.5.0"
28662906

2867-
eslint-plugin-prettier@^3.1.2:
2907+
eslint-plugin-prettier@^3.1.4:
28682908
version "3.1.4"
28692909
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.4.tgz#168ab43154e2ea57db992a2cd097c828171f75c2"
28702910
integrity sha512-jZDa8z76klRqo+TdGDTFJSavwbnWK2ZpqGKNZ+VvweMW516pDUMmQ2koXvxEE4JhzNvTv+radye/bWGBmA6jmg==

0 commit comments

Comments
 (0)