Skip to content

Commit 1116dd9

Browse files
feat: add eslint-plugin-astro to the package.json
Closes: codeclimate#610 Signed-off-by: [email protected] <[email protected]>
1 parent 8ee4db9 commit 1116dd9

File tree

2 files changed

+100
-5
lines changed

2 files changed

+100
-5
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"eslint-import-resolver-node": "^0.3.1",
6565
"eslint-import-resolver-webpack": "^0.10.1",
6666
"eslint-plugin-angular": "^3.1.1",
67+
"eslint-plugin-astro": "^0.31.4",
6768
"eslint-plugin-babel": "^5.3.0",
6869
"eslint-plugin-backbone": "^2.1.1",
6970
"eslint-plugin-chai-friendly": "^0.4.1",

yarn.lock

+99-5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
"@jridgewell/gen-mapping" "^0.3.0"
1616
"@jridgewell/trace-mapping" "^0.3.9"
1717

18+
"@astrojs/compiler@^2.0.0":
19+
version "2.5.3"
20+
resolved "https://registry.yarnpkg.com/@astrojs/compiler/-/compiler-2.5.3.tgz#eb34fa21cbd395f2b5493aa06d91dd9e9faf3bc2"
21+
integrity sha512-jzj01BRv/fmo+9Mr2FhocywGzEYiyiP2GVHje1ziGNU6c97kwhYGsnvwMkHrncAy9T9Vi54cjaMK7UE4ClX4vA==
22+
1823
1924
version "7.12.11"
2025
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f"
@@ -1382,6 +1387,11 @@
13821387
"@nodelib/fs.scandir" "2.1.5"
13831388
fastq "^1.6.0"
13841389

1390+
"@pkgr/core@^0.1.0":
1391+
version "0.1.1"
1392+
resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31"
1393+
integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==
1394+
13851395
"@rushstack/eslint-patch@^1.0.6":
13861396
version "1.5.1"
13871397
resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.5.1.tgz#5f1b518ec5fa54437c0b7c4a821546c64fed6922"
@@ -1517,7 +1527,7 @@
15171527
"@typescript-eslint/types" "4.33.0"
15181528
"@typescript-eslint/visitor-keys" "4.33.0"
15191529

1520-
"@typescript-eslint/[email protected]":
1530+
"@typescript-eslint/[email protected]", "@typescript-eslint/scope-manager@^5.0.0":
15211531
version "5.62.0"
15221532
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c"
15231533
integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==
@@ -1540,7 +1550,7 @@
15401550
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.33.0.tgz#a1e59036a3b53ae8430ceebf2a919dc7f9af6d72"
15411551
integrity sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ==
15421552

1543-
"@typescript-eslint/[email protected]":
1553+
"@typescript-eslint/[email protected]", "@typescript-eslint/types@^5.0.0", "@typescript-eslint/types@^5.25.0":
15441554
version "5.62.0"
15451555
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f"
15461556
integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==
@@ -2070,6 +2080,28 @@ [email protected]:
20702080
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.13.2.tgz#df39b677a911a83f3a049644fb74fdded23cea48"
20712081
integrity sha512-uWMHxJxtfj/1oZClOxDEV1sQ1HCDkA4MG8Gr69KKeBjEVH0R84WlejZ0y2DcwyBlpAEMltmVYkVgqfLFb2oyiA==
20722082

2083+
astro-eslint-parser@^0.16.3:
2084+
version "0.16.3"
2085+
resolved "https://registry.yarnpkg.com/astro-eslint-parser/-/astro-eslint-parser-0.16.3.tgz#faf9ca45db0cbf29e9152d7f6cfb849c170255f3"
2086+
integrity sha512-CGaBseNtunAV2DCpwBXqTKq8+9Tw65XZetMaC0FsMoZuLj0gxNIkbCf2QyKYScVrNOU7/ayfNdVw8ZCSHBiqCg==
2087+
dependencies:
2088+
"@astrojs/compiler" "^2.0.0"
2089+
"@typescript-eslint/scope-manager" "^5.0.0"
2090+
"@typescript-eslint/types" "^5.0.0"
2091+
astrojs-compiler-sync "^0.3.0"
2092+
debug "^4.3.4"
2093+
entities "^4.5.0"
2094+
eslint-visitor-keys "^3.0.0"
2095+
espree "^9.0.0"
2096+
semver "^7.3.8"
2097+
2098+
astrojs-compiler-sync@^0.3.0:
2099+
version "0.3.5"
2100+
resolved "https://registry.yarnpkg.com/astrojs-compiler-sync/-/astrojs-compiler-sync-0.3.5.tgz#bdfeb511b30c908104375cdfe04545f56c8ade3f"
2101+
integrity sha512-y420rhIIJ2HHDkYeqKArBHSdJNIIGMztLH90KGIX3zjcJyt/cr9Z2wYA8CP5J1w6KE7xqMh0DAkhfjhNDpQb2Q==
2102+
dependencies:
2103+
synckit "^0.9.0"
2104+
20732105
async-each@^1.0.1:
20742106
version "1.0.6"
20752107
resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.6.tgz#52f1d9403818c179b7561e11a5d1b77eb2160e77"
@@ -3199,6 +3231,11 @@ entities@^2.0.0:
31993231
resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55"
32003232
integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==
32013233

3234+
entities@^4.5.0:
3235+
version "4.5.0"
3236+
resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48"
3237+
integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==
3238+
32023239
errno@^0.1.3, errno@~0.1.7:
32033240
version "0.1.8"
32043241
resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f"
@@ -3401,6 +3438,13 @@ eslint-ast-utils@^1.0.0:
34013438
lodash.get "^4.4.2"
34023439
lodash.zip "^4.2.0"
34033440

3441+
eslint-compat-utils@^0.4.0:
3442+
version "0.4.1"
3443+
resolved "https://registry.yarnpkg.com/eslint-compat-utils/-/eslint-compat-utils-0.4.1.tgz#498d9dad03961174a283f7741838a3fbe4a34e89"
3444+
integrity sha512-5N7ZaJG5pZxUeNNJfUchurLVrunD1xJvyg5kYOIVF8kg1f3ajTikmAu/5fZ9w100omNPOoMjngRszh/Q/uFGMg==
3445+
dependencies:
3446+
semver "^7.5.4"
3447+
34043448
eslint-config-airbnb-base@^12.1.0:
34053449
version "12.1.0"
34063450
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-12.1.0.tgz#386441e54a12ccd957b0a92564a4bafebd747944"
@@ -3688,6 +3732,19 @@ [email protected], eslint-plugin-angular@^3.1.1:
36883732
resolved "https://registry.yarnpkg.com/eslint-plugin-angular/-/eslint-plugin-angular-3.3.0.tgz#ba841ec018c8bc2d70f901ac41a6e7be5f79882b"
36893733
integrity sha512-43HsDbJS0hx9xPU4Ox/pkz90ie4DuRao9ovcz4vteO6OOxVdH5lsOlGTmlJbrEiVyphF1sUwRDPuglu21Gg/GQ==
36903734

3735+
eslint-plugin-astro@^0.31.4:
3736+
version "0.31.4"
3737+
resolved "https://registry.yarnpkg.com/eslint-plugin-astro/-/eslint-plugin-astro-0.31.4.tgz#eb6e2a209f0e146e796d9ad4106272cadeb0a0d4"
3738+
integrity sha512-aU1KYSo7TdnSTBenyAWuRFB07lVUe0/6u9cltC2ZCx0QgcfC+HP7e87OkmvoKh+RZuaSsVgLG4zCOI8LZ6nS/Q==
3739+
dependencies:
3740+
"@eslint-community/eslint-utils" "^4.2.0"
3741+
"@jridgewell/sourcemap-codec" "^1.4.14"
3742+
"@typescript-eslint/types" "^5.25.0"
3743+
astro-eslint-parser "^0.16.3"
3744+
eslint-compat-utils "^0.4.0"
3745+
postcss "^8.4.14"
3746+
postcss-selector-parser "^6.0.10"
3747+
36913748
eslint-plugin-babel@^5.3.0:
36923749
version "5.3.1"
36933750
resolved "https://registry.yarnpkg.com/eslint-plugin-babel/-/eslint-plugin-babel-5.3.1.tgz#75a2413ffbf17e7be57458301c60291f2cfbf560"
@@ -4193,7 +4250,7 @@ eslint-visitor-keys@^2.0.0, eslint-visitor-keys@^2.1.0:
41934250
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
41944251
integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==
41954252

4196-
eslint-visitor-keys@^3.1.0, eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3:
4253+
eslint-visitor-keys@^3.0.0, eslint-visitor-keys@^3.1.0, eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3:
41974254
version "3.4.3"
41984255
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
41994256
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
@@ -6126,6 +6183,11 @@ nanoid@^3.1.23:
61266183
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c"
61276184
integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==
61286185

6186+
nanoid@^3.3.7:
6187+
version "3.3.7"
6188+
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8"
6189+
integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==
6190+
61296191
nanomatch@^1.2.9:
61306192
version "1.2.13"
61316193
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
@@ -6695,6 +6757,14 @@ posix-character-classes@^0.1.0:
66956757
resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
66966758
integrity sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==
66976759

6760+
postcss-selector-parser@^6.0.10:
6761+
version "6.0.15"
6762+
resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.15.tgz#11cc2b21eebc0b99ea374ffb9887174855a01535"
6763+
integrity sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw==
6764+
dependencies:
6765+
cssesc "^3.0.0"
6766+
util-deprecate "^1.0.2"
6767+
66986768
postcss-selector-parser@^6.0.9:
66996769
version "6.0.13"
67006770
resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz#d05d8d76b1e8e173257ef9d60b706a8e5e99bf1b"
@@ -6712,6 +6782,15 @@ [email protected]:
67126782
nanoid "^3.1.23"
67136783
source-map "^0.6.1"
67146784

6785+
postcss@^8.4.14:
6786+
version "8.4.35"
6787+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.35.tgz#60997775689ce09011edf083a549cea44aabe2f7"
6788+
integrity sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==
6789+
dependencies:
6790+
nanoid "^3.3.7"
6791+
picocolors "^1.0.0"
6792+
source-map-js "^1.0.2"
6793+
67156794
prelude-ls@^1.2.1:
67166795
version "1.2.1"
67176796
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
@@ -7260,6 +7339,13 @@ semver@^7.3.5, semver@^7.3.7, semver@^7.3.8:
72607339
dependencies:
72617340
lru-cache "^6.0.0"
72627341

7342+
semver@^7.5.4:
7343+
version "7.6.0"
7344+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d"
7345+
integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==
7346+
dependencies:
7347+
lru-cache "^6.0.0"
7348+
72637349
serialize-javascript@^4.0.0:
72647350
version "4.0.0"
72657351
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa"
@@ -7405,7 +7491,7 @@ source-list-map@^2.0.0:
74057491
resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34"
74067492
integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==
74077493

7408-
source-map-js@^1.0.1:
7494+
source-map-js@^1.0.1, source-map-js@^1.0.2:
74097495
version "1.0.2"
74107496
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
74117497
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
@@ -7740,6 +7826,14 @@ supports-preserve-symlinks-flag@^1.0.0:
77407826
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
77417827
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
77427828

7829+
synckit@^0.9.0:
7830+
version "0.9.0"
7831+
resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.9.0.tgz#5b33b458b3775e4466a5b377fba69c63572ae449"
7832+
integrity sha512-7RnqIMq572L8PeEzKeBINYEJDDxpcH8JEgLwUqBd3TkofhFRbkq4QLR0u+36avGAhCRbk2nnmjcW9SE531hPDg==
7833+
dependencies:
7834+
"@pkgr/core" "^0.1.0"
7835+
tslib "^2.6.2"
7836+
77437837
table@^3.7.8:
77447838
version "3.8.3"
77457839
resolved "https://registry.yarnpkg.com/table/-/table-3.8.3.tgz#2bbc542f0fda9861a755d3947fefd8b3f513855f"
@@ -7897,7 +7991,7 @@ tslib@^1.8.1:
78977991
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
78987992
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
78997993

7900-
tslib@^2.0.3, tslib@^2.1.0:
7994+
tslib@^2.0.3, tslib@^2.1.0, tslib@^2.6.2:
79017995
version "2.6.2"
79027996
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
79037997
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==

0 commit comments

Comments
 (0)