Skip to content

Commit 86267e2

Browse files
fix: add eslint v8 as explicit dependency
also required adding some of its transitive dependencies
1 parent 0d3bb4e commit 86267e2

File tree

3 files changed

+76
-2
lines changed

3 files changed

+76
-2
lines changed

.sfdevrc.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
{
22
"test": {
33
"testsPath": "test/**/*.test.ts"
4-
}
4+
},
5+
"//": "@lwc/sfdc-lwc-compiler brings eslint@v9 and the @salesforce/dev-scripts requires eslint@v8. So this section temporarily adds the deps to be compatible.",
6+
"devDepOverrides": [
7+
"eslint",
8+
"eslint-config-prettier",
9+
"@typescript-eslint/eslint-plugin",
10+
"eslint-plugin-header",
11+
"eslint-plugin-jsdoc",
12+
"eslint-plugin-unicorn"
13+
]
514
}

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@
2929
"@salesforce/plugin-command-reference": "^3.1.44",
3030
"@types/node-fetch": "^2.6.11",
3131
"@types/xml2js": "^0.4.14",
32+
"@typescript-eslint/eslint-plugin": "^6.21.0",
33+
"eslint": "^8.57.0",
34+
"eslint-config-prettier": "^9.1.0",
35+
"eslint-plugin-header": "^3.1.1",
3236
"eslint-plugin-sf-plugin": "^1.20.15",
37+
"eslint-plugin-jsdoc": "^46.10.1",
38+
"eslint-plugin-unicorn": "^50.0.1",
3339
"esmock": "^2.6.9",
3440
"oclif": "^4.17.27",
3541
"ts-node": "^10.9.2",

yarn.lock

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1576,6 +1576,11 @@
15761576
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
15771577
integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==
15781578

1579+
1580+
version "8.57.1"
1581+
resolved "https://nexus-proxy.repo.local.sfdc.net/nexus/content/groups/npm-all/@eslint/js/-/js-8.57.1.tgz#de633db3ec2ef6a3c89e2f19038063e8a122e2c2"
1582+
integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==
1583+
15791584
15801585
version "9.18.0"
15811586
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.18.0.tgz#3356f85d18ed3627ab107790b53caf7e1e3d1e84"
@@ -1639,12 +1644,21 @@
16391644
debug "^4.3.1"
16401645
minimatch "^3.0.5"
16411646

1647+
"@humanwhocodes/config-array@^0.13.0":
1648+
version "0.13.0"
1649+
resolved "https://nexus-proxy.repo.local.sfdc.net/nexus/content/groups/npm-all/@humanwhocodes/config-array/-/config-array-0.13.0.tgz#fb907624df3256d04b9aa2df50d7aa97ec648748"
1650+
integrity sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==
1651+
dependencies:
1652+
"@humanwhocodes/object-schema" "^2.0.3"
1653+
debug "^4.3.1"
1654+
minimatch "^3.0.5"
1655+
16421656
"@humanwhocodes/module-importer@^1.0.1":
16431657
version "1.0.1"
16441658
resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c"
16451659
integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==
16461660

1647-
"@humanwhocodes/object-schema@^2.0.2":
1661+
"@humanwhocodes/object-schema@^2.0.2", "@humanwhocodes/object-schema@^2.0.3":
16481662
version "2.0.3"
16491663
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3"
16501664
integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==
@@ -6570,6 +6584,50 @@ eslint@^8.56.0:
65706584
strip-ansi "^6.0.1"
65716585
text-table "^0.2.0"
65726586

6587+
eslint@^8.57.0:
6588+
version "8.57.1"
6589+
resolved "https://nexus-proxy.repo.local.sfdc.net/nexus/content/groups/npm-all/eslint/-/eslint-8.57.1.tgz#7df109654aba7e3bbe5c8eae533c5e461d3c6ca9"
6590+
integrity sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==
6591+
dependencies:
6592+
"@eslint-community/eslint-utils" "^4.2.0"
6593+
"@eslint-community/regexpp" "^4.6.1"
6594+
"@eslint/eslintrc" "^2.1.4"
6595+
"@eslint/js" "8.57.1"
6596+
"@humanwhocodes/config-array" "^0.13.0"
6597+
"@humanwhocodes/module-importer" "^1.0.1"
6598+
"@nodelib/fs.walk" "^1.2.8"
6599+
"@ungap/structured-clone" "^1.2.0"
6600+
ajv "^6.12.4"
6601+
chalk "^4.0.0"
6602+
cross-spawn "^7.0.2"
6603+
debug "^4.3.2"
6604+
doctrine "^3.0.0"
6605+
escape-string-regexp "^4.0.0"
6606+
eslint-scope "^7.2.2"
6607+
eslint-visitor-keys "^3.4.3"
6608+
espree "^9.6.1"
6609+
esquery "^1.4.2"
6610+
esutils "^2.0.2"
6611+
fast-deep-equal "^3.1.3"
6612+
file-entry-cache "^6.0.1"
6613+
find-up "^5.0.0"
6614+
glob-parent "^6.0.2"
6615+
globals "^13.19.0"
6616+
graphemer "^1.4.0"
6617+
ignore "^5.2.0"
6618+
imurmurhash "^0.1.4"
6619+
is-glob "^4.0.0"
6620+
is-path-inside "^3.0.3"
6621+
js-yaml "^4.1.0"
6622+
json-stable-stringify-without-jsonify "^1.0.1"
6623+
levn "^0.4.1"
6624+
lodash.merge "^4.6.2"
6625+
minimatch "^3.1.2"
6626+
natural-compare "^1.4.0"
6627+
optionator "^0.9.3"
6628+
strip-ansi "^6.0.1"
6629+
text-table "^0.2.0"
6630+
65736631
eslint@~9.18.0:
65746632
version "9.18.0"
65756633
resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.18.0.tgz#c95b24de1183e865de19f607fda6518b54827850"
@@ -12145,6 +12203,7 @@ workerpool@^6.5.1:
1214512203
integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==
1214612204

1214712205
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
12206+
name wrap-ansi-cjs
1214812207
version "7.0.0"
1214912208
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
1215012209
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==

0 commit comments

Comments
 (0)