Skip to content

Commit d29329b

Browse files
Replace dependency eslint-plugin-node with eslint-plugin-n ^14.0.0 (#4416)
* Replace dependency eslint-plugin-node with eslint-plugin-n ^14.0.0 * Update eslint config Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 68b06d7 commit d29329b

File tree

3 files changed

+23
-15
lines changed

3 files changed

+23
-15
lines changed

.eslintrc.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
plugins: ["matrix-org", "import", "jsdoc", "node"],
2+
plugins: ["matrix-org", "import", "jsdoc", "n"],
33
extends: ["plugin:matrix-org/babel", "plugin:matrix-org/jest", "plugin:import/typescript"],
44
parserOptions: {
55
project: ["./tsconfig.json"],
@@ -129,7 +129,7 @@ module.exports = {
129129
// "jsdoc/check-param-names": "error",
130130
// "jsdoc/check-indentation": "error",
131131
// Ensure .ts extension on imports outside of tests
132-
"node/file-extension-in-import": [
132+
"n/file-extension-in-import": [
133133
"error",
134134
"always",
135135
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"eslint-plugin-jest": "^28.0.0",
102102
"eslint-plugin-jsdoc": "^50.0.0",
103103
"eslint-plugin-matrix-org": "^1.0.0",
104-
"eslint-plugin-node": "^11.1.0",
104+
"eslint-plugin-n": "^14.0.0",
105105
"eslint-plugin-tsdoc": "^0.3.0",
106106
"eslint-plugin-unicorn": "^55.0.0",
107107
"fake-indexeddb": "^5.0.2",

yarn.lock

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3093,10 +3093,10 @@ eslint-module-utils@^2.9.0:
30933093
dependencies:
30943094
debug "^3.2.7"
30953095

3096-
eslint-plugin-es@^3.0.0:
3097-
version "3.0.1"
3098-
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz#75a7cdfdccddc0589934aeeb384175f221c57893"
3099-
integrity sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==
3096+
eslint-plugin-es@^4.1.0:
3097+
version "4.1.0"
3098+
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz#f0822f0c18a535a97c3e714e89f88586a7641ec9"
3099+
integrity sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==
31003100
dependencies:
31013101
eslint-utils "^2.0.0"
31023102
regexpp "^3.0.0"
@@ -3154,14 +3154,15 @@ eslint-plugin-matrix-org@^1.0.0:
31543154
resolved "https://registry.yarnpkg.com/eslint-plugin-matrix-org/-/eslint-plugin-matrix-org-1.2.1.tgz#76d1505daa93fb99ba4156008b9b32f57682c9b1"
31553155
integrity sha512-A3cDjhG7RHwfCS8o3bOip8hSCsxtmgk2ahvqE5v/Ic2kPEZxixY6w8zLj7hFGsrRmPSEpLWqkVLt8uvQBapiQA==
31563156

3157-
eslint-plugin-node@^11.1.0:
3158-
version "11.1.0"
3159-
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz#c95544416ee4ada26740a30474eefc5402dc671d"
3160-
integrity sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==
3157+
eslint-plugin-n@^14.0.0:
3158+
version "14.0.0"
3159+
resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-14.0.0.tgz#aa7944f5b1fd69cf64ecb1ddd1a4762bb0f4f352"
3160+
integrity sha512-mNwplPLsbaKhHyA0fa/cy8j+oF6bF6l81hzBTWa6JOvPcMNAuIogk2ih6d9tYvWYzyUG+7ZFeChqbzdFpg2QrQ==
31613161
dependencies:
3162-
eslint-plugin-es "^3.0.0"
3163-
eslint-utils "^2.0.0"
3162+
eslint-plugin-es "^4.1.0"
3163+
eslint-utils "^3.0.0"
31643164
ignore "^5.1.1"
3165+
is-core-module "^2.3.0"
31653166
minimatch "^3.0.4"
31663167
resolve "^1.10.1"
31673168
semver "^6.1.0"
@@ -3224,12 +3225,19 @@ eslint-utils@^2.0.0:
32243225
dependencies:
32253226
eslint-visitor-keys "^1.1.0"
32263227

3228+
eslint-utils@^3.0.0:
3229+
version "3.0.0"
3230+
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672"
3231+
integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==
3232+
dependencies:
3233+
eslint-visitor-keys "^2.0.0"
3234+
32273235
eslint-visitor-keys@^1.1.0:
32283236
version "1.3.0"
32293237
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e"
32303238
integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==
32313239

3232-
eslint-visitor-keys@^2.1.0:
3240+
eslint-visitor-keys@^2.0.0, eslint-visitor-keys@^2.1.0:
32333241
version "2.1.0"
32343242
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
32353243
integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==
@@ -3981,7 +3989,7 @@ is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7:
39813989
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055"
39823990
integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==
39833991

3984-
is-core-module@^2.13.0, is-core-module@^2.15.1:
3992+
is-core-module@^2.13.0, is-core-module@^2.15.1, is-core-module@^2.3.0:
39853993
version "2.15.1"
39863994
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.15.1.tgz#a7363a25bee942fefab0de13bf6aa372c82dcc37"
39873995
integrity sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==

0 commit comments

Comments
 (0)