Skip to content

Commit 342db5a

Browse files
committed
Adjust eslint config
1 parent 5db6530 commit 342db5a

File tree

3 files changed

+33
-6
lines changed

3 files changed

+33
-6
lines changed

.eslintrc.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ module.exports = {
88
'sourceType': 'module'
99
},
1010
'plugins': [
11-
'@typescript-eslint'
11+
'@typescript-eslint',
12+
'@stylistic'
1213
],
1314
'rules': {
1415
// '@typescript-eslint/class-name-casing': 'warn', https://github.com/typescript-eslint/typescript-eslint/issues/2077
15-
'@typescript-eslint/member-delimiter-style': [
16+
'@stylistic/member-delimiter-style': [
1617
'warn',
1718
{
1819
'multiline': {
@@ -25,7 +26,7 @@ module.exports = {
2526
}
2627
}
2728
],
28-
'@typescript-eslint/semi': [
29+
'semi': [
2930
'warn',
3031
'always'
3132
],

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"scripts/updateUID.Dockerfile"
5555
],
5656
"devDependencies": {
57+
"@stylistic/eslint-plugin": "^3.0.1",
5758
"@types/chai": "^5.0.1",
5859
"@types/chalk": "^2.2.4",
5960
"@types/follow-redirects": "^1.14.4",

yarn.lock

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,17 @@
262262
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
263263
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
264264

265+
"@stylistic/eslint-plugin@^3.0.1":
266+
version "3.0.1"
267+
resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin/-/eslint-plugin-3.0.1.tgz#ec85816a3b4e75c34293160b2784e6a4bdce6664"
268+
integrity sha512-rQ3tcT5N2cynofJfbjUsnL4seoewTaOVBLyUEwtNldo7iNMPo3h/GUQk+Cl3iHEWwRxjq2wuH6q0FufQrbVL1A==
269+
dependencies:
270+
"@typescript-eslint/utils" "^8.13.0"
271+
eslint-visitor-keys "^4.2.0"
272+
espree "^10.3.0"
273+
estraverse "^5.3.0"
274+
picomatch "^4.0.2"
275+
265276
"@tootallnate/quickjs-emscripten@^0.23.0":
266277
version "0.23.0"
267278
resolved "https://registry.yarnpkg.com/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz#db4ecfd499a9765ab24002c3b696d02e6d32a12c"
@@ -506,7 +517,7 @@
506517
eslint-scope "^5.1.1"
507518
semver "^7.3.7"
508519

509-
"@typescript-eslint/[email protected]":
520+
"@typescript-eslint/[email protected]", "@typescript-eslint/utils@^8.13.0":
510521
version "8.23.0"
511522
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.23.0.tgz#b269cbdc77129fd6e0e600b168b5ef740a625554"
512523
integrity sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==
@@ -554,7 +565,7 @@ acorn@^7.1.1:
554565
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa"
555566
integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==
556567

557-
acorn@^8.11.0, acorn@^8.4.1, acorn@^8.9.0:
568+
acorn@^8.11.0, acorn@^8.14.0, acorn@^8.4.1, acorn@^8.9.0:
558569
version "8.14.0"
559570
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.0.tgz#063e2c70cac5fb4f6467f0b11152e04c682795b0"
560571
integrity sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==
@@ -1486,6 +1497,15 @@ eslint@^8.57.0:
14861497
strip-ansi "^6.0.1"
14871498
text-table "^0.2.0"
14881499

1500+
espree@^10.3.0:
1501+
version "10.3.0"
1502+
resolved "https://registry.yarnpkg.com/espree/-/espree-10.3.0.tgz#29267cf5b0cb98735b65e64ba07e0ed49d1eed8a"
1503+
integrity sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==
1504+
dependencies:
1505+
acorn "^8.14.0"
1506+
acorn-jsx "^5.3.2"
1507+
eslint-visitor-keys "^4.2.0"
1508+
14891509
espree@^6.1.2:
14901510
version "6.2.1"
14911511
resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a"
@@ -1528,7 +1548,7 @@ estraverse@^4.1.1:
15281548
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"
15291549
integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==
15301550

1531-
estraverse@^5.1.0, estraverse@^5.2.0:
1551+
estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0:
15321552
version "5.3.0"
15331553
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"
15341554
integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==
@@ -2984,6 +3004,11 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1:
29843004
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
29853005
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
29863006

3007+
picomatch@^4.0.2:
3008+
version "4.0.2"
3009+
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.2.tgz#77c742931e8f3b8820946c76cd0c1f13730d1dab"
3010+
integrity sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==
3011+
29873012
pidtree@^0.3.0:
29883013
version "0.3.1"
29893014
resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.1.tgz#ef09ac2cc0533df1f3250ccf2c4d366b0d12114a"

0 commit comments

Comments
 (0)