Skip to content

Commit cdf7cd2

Browse files
authored
Merge pull request #503 from rrd108/renovate/antfu-eslint-config-3.x-lockfile
chore(deps): update dependency @antfu/eslint-config to v3.14.0
2 parents 4204c2e + c555245 commit cdf7cd2

File tree

2 files changed

+43
-28
lines changed

2 files changed

+43
-28
lines changed

src/rules/rrd/cyclomaticComplexity.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ const checkCyclomaticComplexity = (script: SFCScriptBlock | null, filePath: stri
2929

3030
const cyclomaticComplexity
3131
= (_ifCount?.length || 0)
32-
+ (_elseCount?.length || 0)
33-
+ (_forCount?.length || 0)
34-
+ (_whileCount?.length || 0)
35-
+ (_caseCount?.length || 0)
32+
+ (_elseCount?.length || 0)
33+
+ (_forCount?.length || 0)
34+
+ (_whileCount?.length || 0)
35+
+ (_caseCount?.length || 0)
3636

3737
if (cyclomaticComplexity > complexityModerate) {
3838
results.push({ filePath, message: `Cyclomatic complexity is ${cyclomaticComplexity > COMPLEXITY_HIGH ? `<bg_err>very high` : `<bg_warn>high`} (${cyclomaticComplexity})${cyclomaticComplexity > COMPLEXITY_HIGH ? `</bg_err>` : `</bg_warn>`}` })

yarn.lock

Lines changed: 39 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -151,23 +151,23 @@
151151
"@algolia/client-common" "5.12.0"
152152

153153
"@antfu/eslint-config@^3.0.0":
154-
version "3.13.0"
155-
resolved "https://registry.yarnpkg.com/@antfu/eslint-config/-/eslint-config-3.13.0.tgz#96cb33758cc9c0db687466888996732951d8f3cb"
156-
integrity sha512-QO2B+w9JAfMRaXOquD7mMIggqrcdZHeRsTzxgvTYkq6YeTPfQHMQNG7wVKZh5+w0Z5c8JgTOVtf1eo5+fSYFmA==
154+
version "3.14.0"
155+
resolved "https://registry.yarnpkg.com/@antfu/eslint-config/-/eslint-config-3.14.0.tgz#782c191808466547900828eb8b12453721c9007c"
156+
integrity sha512-SBQOFrF/d2aqsVhxcHZ6g5DAoUaNyaV3Vd+lGNJx4CfSuwk9EuC8sRUF819GkNdCMbH5wNdFoJ4+Tsd9sr/NBw==
157157
dependencies:
158158
"@antfu/install-pkg" "^1.0.0"
159159
"@clack/prompts" "^0.9.1"
160160
"@eslint-community/eslint-plugin-eslint-comments" "^4.4.1"
161161
"@eslint/markdown" "^6.2.1"
162-
"@stylistic/eslint-plugin" "^2.12.1"
162+
"@stylistic/eslint-plugin" "^2.13.0"
163163
"@typescript-eslint/eslint-plugin" "^8.19.1"
164164
"@typescript-eslint/parser" "^8.19.1"
165-
"@vitest/eslint-plugin" "^1.1.24"
165+
"@vitest/eslint-plugin" "^1.1.25"
166166
eslint-config-flat-gitignore "^1.0.0"
167167
eslint-flat-config-utils "^1.0.0"
168168
eslint-merge-processors "^1.0.0"
169169
eslint-plugin-antfu "^2.7.0"
170-
eslint-plugin-command "^2.0.7"
170+
eslint-plugin-command "^2.1.0"
171171
eslint-plugin-import-x "^4.6.1"
172172
eslint-plugin-jsdoc "^50.6.1"
173173
eslint-plugin-jsonc "^2.18.2"
@@ -697,9 +697,9 @@
697697
integrity sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==
698698

699699
"@eslint/compat@^1.2.4":
700-
version "1.2.4"
701-
resolved "https://registry.yarnpkg.com/@eslint/compat/-/compat-1.2.4.tgz#b69b0d76ce73fe66d7f8633c406acea151f5c559"
702-
integrity sha512-S8ZdQj/N69YAtuqFt7653jwcvuUj131+6qGLUyDqfDg1OIoBQ66OCuXC473YQfO2AaxITTutiRQiDwoo7ZLYyg==
700+
version "1.2.5"
701+
resolved "https://registry.yarnpkg.com/@eslint/compat/-/compat-1.2.5.tgz#438f8bbe105341853469b2cf2d10b6321cadeb3a"
702+
integrity sha512-5iuG/StT+7OfvhoBHPlmxkPA9om6aDUFgmD4+mWKAGsYt4vCe8rypneG03AuseyRHBmcCLXQtIH5S26tIoggLg==
703703

704704
"@eslint/config-array@^0.19.0":
705705
version "0.19.1"
@@ -717,6 +717,11 @@
717717
dependencies:
718718
"@types/json-schema" "^7.0.15"
719719

720+
"@eslint/core@^0.9.0":
721+
version "0.9.1"
722+
resolved "https://registry.yarnpkg.com/@eslint/core/-/core-0.9.1.tgz#31763847308ef6b7084a4505573ac9402c51f9d1"
723+
integrity sha512-GuUdqkyyzQI5RMIWkHhvTWLCyLo1jNK3vzkSyaExH5kHPDHcuL2VOpHjmMY+y3+NC69qAKToBqldTBgYeLSr9Q==
724+
720725
"@eslint/eslintrc@^2.1.4":
721726
version "2.1.4"
722727
resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz"
@@ -772,7 +777,7 @@
772777
resolved "https://registry.yarnpkg.com/@eslint/object-schema/-/object-schema-2.1.5.tgz#8670a8f6258a2be5b2c620ff314a1d984c23eb2e"
773778
integrity sha512-o0bhxnL89h5Bae5T318nFoFzGy+YE5i/gGkoPAgkmTVdRKTiv3p8JHevPiPaMwoloKfEiiaHlawCqaZMqRm+XQ==
774779

775-
"@eslint/plugin-kit@^0.2.0":
780+
"@eslint/plugin-kit@^0.2.3":
776781
version "0.2.4"
777782
resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.2.4.tgz#2b78e7bb3755784bb13faa8932a1d994d6537792"
778783
integrity sha512-zSkKow6H5Kdm0ZUQUB2kV5JIXqoG0+uH5YADhaEHswm664N9Db8dXSi0nMJpacpMf+MyyglF1vnZohpEg5yUtg==
@@ -1274,10 +1279,10 @@
12741279
resolved "https://registry.yarnpkg.com/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz#abb11d99aeb6d27f1b563c38147a72d50058e339"
12751280
integrity sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==
12761281

1277-
"@stylistic/eslint-plugin@^2.12.1":
1278-
version "2.12.1"
1279-
resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin/-/eslint-plugin-2.12.1.tgz#e341beb4e4315084d8be20bceeeda7d8a46f079f"
1280-
integrity sha512-fubZKIHSPuo07FgRTn6S4Nl0uXPRPYVNpyZzIDGfp7Fny6JjNus6kReLD7NI380JXi4HtUTSOZ34LBuNPO1XLQ==
1282+
"@stylistic/eslint-plugin@^2.13.0":
1283+
version "2.13.0"
1284+
resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin/-/eslint-plugin-2.13.0.tgz#53bf175dac8c1ec055b370a6ff77d491cae9a70d"
1285+
integrity sha512-RnO1SaiCFHn666wNz2QfZEFxvmiNRqhzaMXHXxXXKt+MEP7aajlPxUSMIQpKAaJfverpovEYqjBOXDq6dDcaOQ==
12811286
dependencies:
12821287
"@typescript-eslint/utils" "^8.13.0"
12831288
eslint-visitor-keys "^4.2.0"
@@ -1588,10 +1593,10 @@
15881593
resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-5.2.1.tgz#d1491f678ee3af899f7ae57d9c21dc52a65c7133"
15891594
integrity sha512-cxh314tzaWwOLqVes2gnnCtvBDcM1UMdn+iFR+UjAn411dPT3tOmqrJjbMd7koZpMAmBM/GqeV4n9ge7JSiJJQ==
15901595

1591-
"@vitest/eslint-plugin@^1.1.24":
1592-
version "1.1.24"
1593-
resolved "https://registry.yarnpkg.com/@vitest/eslint-plugin/-/eslint-plugin-1.1.24.tgz#4807bfa0a3af8ffb97fb11ba2754f9a5056fd02a"
1594-
integrity sha512-7IaENe4NNy33g0iuuy5bHY69JYYRjpv4lMx6H5Wp30W7ez2baLHwxsXF5TM4wa8JDYZt8ut99Ytoj7GiDO01hw==
1596+
"@vitest/eslint-plugin@^1.1.25":
1597+
version "1.1.25"
1598+
resolved "https://registry.yarnpkg.com/@vitest/eslint-plugin/-/eslint-plugin-1.1.25.tgz#0e2ed719844b52edc88a0467f11f80162ebbebf0"
1599+
integrity sha512-u8DpDnMbPcqBmJOB4PeEtn6q7vKmLVTLFMpzoxSAo0hjYdl4iYSHRleqwPQo0ywc7UV0S6RKIahYRQ3BnZdMVw==
15951600

15961601
"@vitest/expect@3.0.2":
15971602
version "3.0.2"
@@ -2277,9 +2282,9 @@ doctrine@^3.0.0:
22772282
esutils "^2.0.2"
22782283

22792284
electron-to-chromium@^1.5.73:
2280-
version "1.5.79"
2281-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.79.tgz#4424f23f319db7a653cf9ee76102e4ac283e6b3e"
2282-
integrity sha512-nYOxJNxQ9Om4EC88BE4pPoNI8xwSFf8pU/BAeOl4Hh/b/i6V4biTAzwV7pXi3ARKeoYO5JZKMIXTryXSVer5RA==
2285+
version "1.5.80"
2286+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.80.tgz#ca7a8361d7305f0ec9e203ce4e633cbb8a8ef1b1"
2287+
integrity sha512-LTrKpW0AqIuHwmlVNV+cjFYTnXtM9K37OGhpe0ZI10ScPSxqVSryZHIY3WnCS5NSYbBODRTZyhRMS2h5FAEqAw==
22832288

22842289
emoji-regex@^8.0.0:
22852290
version "8.0.0"
@@ -2478,7 +2483,7 @@ eslint-plugin-antfu@^2.7.0:
24782483
dependencies:
24792484
"@antfu/utils" "^0.7.10"
24802485

2481-
eslint-plugin-command@^2.0.7:
2486+
eslint-plugin-command@^2.1.0:
24822487
version "2.1.0"
24832488
resolved "https://registry.yarnpkg.com/eslint-plugin-command/-/eslint-plugin-command-2.1.0.tgz#4da1b745840605878075e247cffdb2c4c82e345d"
24842489
integrity sha512-S3gvDSCRHLdRG7NYaevLvGA0g/txOju7NEB2di7SE80NtbCwsvpi/fft045YuTZpOzqCRUfuye39raldmpXXYQ==
@@ -3928,7 +3933,7 @@ mlly@^1.6.1:
39283933
pkg-types "^1.1.1"
39293934
ufo "^1.5.3"
39303935

3931-
mlly@^1.7.2, mlly@^1.7.3:
3936+
mlly@^1.7.2:
39323937
version "1.7.3"
39333938
resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.7.3.tgz#d86c0fcd8ad8e16395eb764a5f4b831590cee48c"
39343939
integrity sha512-xUsx5n/mN0uQf4V548PKQ+YShA4/IW0KI1dZhrNrPCLG+xizETbHTkOa1f8/xut9JRPp8kQuMnz0oqwkTiLo/A==
@@ -3938,6 +3943,16 @@ mlly@^1.7.2, mlly@^1.7.3:
39383943
pkg-types "^1.2.1"
39393944
ufo "^1.5.4"
39403945

3946+
mlly@^1.7.3:
3947+
version "1.7.4"
3948+
resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.7.4.tgz#3d7295ea2358ec7a271eaa5d000a0f84febe100f"
3949+
integrity sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==
3950+
dependencies:
3951+
acorn "^8.14.0"
3952+
pathe "^2.0.1"
3953+
pkg-types "^1.3.0"
3954+
ufo "^1.5.4"
3955+
39413956
ms@^2.1.1, ms@^2.1.3:
39423957
version "2.1.3"
39433958
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
@@ -4142,7 +4157,7 @@ pathe@^1.1.2:
41424157
resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.2.tgz#6c4cb47a945692e48a1ddd6e4094d170516437ec"
41434158
integrity sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==
41444159

4145-
pathe@^2.0.0:
4160+
pathe@^2.0.0, pathe@^2.0.1:
41464161
version "2.0.1"
41474162
resolved "https://registry.yarnpkg.com/pathe/-/pathe-2.0.1.tgz#ee1e6965c5ccfc98dc5a4b366a6ba6dd624a33d6"
41484163
integrity sha512-6jpjMpOth5S9ITVu5clZ7NOgHNsv5vRQdheL9ztp2vZmM6fRbLvyua1tiBIL4lk8SAe3ARzeXEly6siXCjDHDw==

0 commit comments

Comments
 (0)