Skip to content

Commit a38a1de

Browse files
committed
Update @stylistic/eslint-plugin
1 parent bdb0b67 commit a38a1de

4 files changed

Lines changed: 26 additions & 36 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ updates:
1717
patterns:
1818
- "*"
1919
ignore:
20-
- dependency-name: "@stylistic/eslint-plugin"
21-
update-types: ["version-update:semver-major"] # stylistic 3 to avoid esm
2220
- dependency-name: "@types/chai"
2321
update-types: ["version-update:semver-major"] # chai 4 to avoid esm
2422
- dependency-name: "@types/node"

eslint.config.js renamed to eslint.config.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
const typescriptParser = require('@typescript-eslint/parser');
7-
const typescriptPlugin = require('@typescript-eslint/eslint-plugin');
8-
const stylisticPlugin = require('@stylistic/eslint-plugin');
6+
import typescriptParser from '@typescript-eslint/parser';
7+
import typescriptPlugin from '@typescript-eslint/eslint-plugin';
8+
import stylisticPlugin from '@stylistic/eslint-plugin';
99

10-
module.exports = [
10+
export default [
1111
{
1212
ignores: ['**/node_modules/**'],
1313
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"scripts/updateUID.Dockerfile"
5555
],
5656
"devDependencies": {
57-
"@stylistic/eslint-plugin": "^3.0.1",
57+
"@stylistic/eslint-plugin": "^5.10.0",
5858
"@types/chai": "^4.3.20",
5959
"@types/chalk": "^2.2.4",
6060
"@types/follow-redirects": "^1.14.4",

yarn.lock

Lines changed: 21 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
dependencies:
147147
eslint-visitor-keys "^3.4.3"
148148

149-
"@eslint-community/eslint-utils@^4.8.0":
149+
"@eslint-community/eslint-utils@^4.8.0", "@eslint-community/eslint-utils@^4.9.1":
150150
version "4.9.1"
151151
resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz#4e90af67bc51ddee6cdef5284edf572ec376b595"
152152
integrity sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==
@@ -312,16 +312,17 @@
312312
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
313313
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
314314

315-
"@stylistic/eslint-plugin@^3.0.1":
316-
version "3.1.0"
317-
resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin/-/eslint-plugin-3.1.0.tgz#a9f655c518f76bfc5feb46b467d0f06e511b289d"
318-
integrity sha512-pA6VOrOqk0+S8toJYhQGv2MWpQQR0QpeUo9AhNkC49Y26nxBQ/nH1rta9bUU1rPw2fJ1zZEMV5oCX5AazT7J2g==
315+
"@stylistic/eslint-plugin@^5.10.0":
316+
version "5.10.0"
317+
resolved "https://registry.yarnpkg.com/@stylistic/eslint-plugin/-/eslint-plugin-5.10.0.tgz#471bbd9f7a27ceaac4a217e7f5b3890855e5640c"
318+
integrity sha512-nPK52ZHvot8Ju/0A4ucSX1dcPV2/1clx0kLcH5wDmrE4naKso7TUC/voUyU1O9OTKTrR6MYip6LP0ogEMQ9jPQ==
319319
dependencies:
320-
"@typescript-eslint/utils" "^8.13.0"
321-
eslint-visitor-keys "^4.2.0"
322-
espree "^10.3.0"
320+
"@eslint-community/eslint-utils" "^4.9.1"
321+
"@typescript-eslint/types" "^8.56.0"
322+
eslint-visitor-keys "^4.2.1"
323+
espree "^10.4.0"
323324
estraverse "^5.3.0"
324-
picomatch "^4.0.2"
325+
picomatch "^4.0.3"
325326

326327
"@tootallnate/quickjs-emscripten@^0.23.0":
327328
version "0.23.0"
@@ -519,6 +520,11 @@
519520
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.47.0.tgz#c7fc9b6642d03505f447a8392934b9d1850de5af"
520521
integrity sha512-nHAE6bMKsizhA2uuYZbEbmp5z2UpffNrPEqiKIeN7VsV6UY/roxanWfoRrf6x/k9+Obf+GQdkm0nPU+vnMXo9A==
521522

523+
"@typescript-eslint/types@^8.56.0":
524+
version "8.56.1"
525+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.56.1.tgz#975e5942bf54895291337c91b9191f6eb0632ab9"
526+
integrity sha512-dbMkdIUkIkchgGDIv7KLUpa0Mda4IYjo4IAMJUZ+3xNoUXxMsk9YtKpTHSChRS85o+H9ftm51gsK1dZReY9CVw==
527+
522528
"@typescript-eslint/[email protected]":
523529
version "8.47.0"
524530
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.47.0.tgz#86416dad58db76c4b3bd6a899b1381f9c388489a"
@@ -535,7 +541,7 @@
535541
semver "^7.6.0"
536542
ts-api-utils "^2.1.0"
537543

538-
"@typescript-eslint/[email protected]", "@typescript-eslint/utils@^8.13.0":
544+
"@typescript-eslint/[email protected]":
539545
version "8.47.0"
540546
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.47.0.tgz#d6c30690431dbfdab98fc027202af12e77c91419"
541547
integrity sha512-g7XrNf25iL4TJOiPqatNuaChyqt49a/onq5YsJ9+hXeugK+41LVg7AxikMfM02PC6jbNtZLCJj6AUcQXJS/jGQ==
@@ -565,7 +571,7 @@ acorn-walk@^8.1.1:
565571
dependencies:
566572
acorn "^8.11.0"
567573

568-
acorn@^8.11.0, acorn@^8.14.0, acorn@^8.4.1:
574+
acorn@^8.11.0, acorn@^8.4.1:
569575
version "8.14.1"
570576
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.1.tgz#721d5dc10f7d5b5609a891773d47731796935dfb"
571577
integrity sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==
@@ -1276,11 +1282,6 @@ eslint-visitor-keys@^3.4.3:
12761282
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
12771283
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
12781284

1279-
eslint-visitor-keys@^4.2.0:
1280-
version "4.2.0"
1281-
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz#687bacb2af884fcdda8a6e7d65c606f46a14cd45"
1282-
integrity sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==
1283-
12841285
eslint-visitor-keys@^4.2.1:
12851286
version "4.2.1"
12861287
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz#4cfea60fe7dd0ad8e816e1ed026c1d5251b512c1"
@@ -1335,15 +1336,6 @@ espree@^10.0.1, espree@^10.4.0:
13351336
acorn-jsx "^5.3.2"
13361337
eslint-visitor-keys "^4.2.1"
13371338

1338-
espree@^10.3.0:
1339-
version "10.3.0"
1340-
resolved "https://registry.yarnpkg.com/espree/-/espree-10.3.0.tgz#29267cf5b0cb98735b65e64ba07e0ed49d1eed8a"
1341-
integrity sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==
1342-
dependencies:
1343-
acorn "^8.14.0"
1344-
acorn-jsx "^5.3.2"
1345-
eslint-visitor-keys "^4.2.0"
1346-
13471339
esprima@^4.0.1:
13481340
version "4.0.1"
13491341
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
@@ -2525,10 +2517,10 @@ picomatch@^2.0.4, picomatch@^2.3.1:
25252517
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
25262518
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
25272519

2528-
picomatch@^4.0.2:
2529-
version "4.0.2"
2530-
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.2.tgz#77c742931e8f3b8820946c76cd0c1f13730d1dab"
2531-
integrity sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==
2520+
picomatch@^4.0.3:
2521+
version "4.0.3"
2522+
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042"
2523+
integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==
25322524

25332525
pidtree@^0.3.0:
25342526
version "0.3.1"

0 commit comments

Comments
 (0)