eslint-plugin-etc-misc 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// eslint-disable-next-line import-x/no-deprecated -- ESLint currently exposes core rules through this compatibility entrypoint.
|
|
1
|
+
// eslint-disable-next-line import-x/no-deprecated, sonarjs/deprecation -- ESLint currently exposes core rules through this compatibility entrypoint.
|
|
2
2
|
import { builtinRules } from "eslint/use-at-your-own-risk";
|
|
3
3
|
/**
|
|
4
4
|
* Resolve a core ESLint rule module by rule ID.
|
|
5
5
|
*/
|
|
6
6
|
export const getCoreRule = (ruleId) => {
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated,
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated, import-x/no-deprecated, sonarjs/deprecation -- ESLint currently exposes core rule modules through this entrypoint.
|
|
8
8
|
const coreRule = builtinRules.get(ruleId);
|
|
9
9
|
if (coreRule === undefined) {
|
|
10
10
|
throw new Error(`Missing core ESLint rule "${ruleId}".`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-core-rule.js","sourceRoot":"","sources":["../../src/_internal/get-core-rule.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"get-core-rule.js","sourceRoot":"","sources":["../../src/_internal/get-core-rule.ts"],"names":[],"mappings":"AAEA,qJAAqJ;AACrJ,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAI3D;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,MAAc,EAAc,EAAE;IACtD,gLAAgL;IAChL,MAAM,QAAQ,GAAG,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1C,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CAAC,6BAA6B,MAAM,IAAI,CAAC,CAAC;IAC7D,CAAC;IAED,OAAO,QAAiC,CAAC;AAC7C,CAAC,CAAC"}
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"typedoc": "^0.28.17",
|
|
90
90
|
"typedoc-docusaurus-theme": "^1.4.2",
|
|
91
91
|
"typedoc-plugin-coverage": "^4.0.2",
|
|
92
|
-
"typedoc-plugin-dt-links": "^2.0.
|
|
92
|
+
"typedoc-plugin-dt-links": "^2.0.46",
|
|
93
93
|
"typedoc-plugin-external-package-links": "^0.2.0",
|
|
94
94
|
"typedoc-plugin-markdown": "^4.10.0",
|
|
95
95
|
"typedoc-plugin-mdn-links": "^5.1.1",
|
|
@@ -105,12 +105,18 @@
|
|
|
105
105
|
},
|
|
106
106
|
"packageManager": "npm@11.11.1",
|
|
107
107
|
"engines": {
|
|
108
|
-
"node": ">=20.19.0"
|
|
109
|
-
"npm": ">=11.0.0"
|
|
108
|
+
"node": ">=20.19.0"
|
|
110
109
|
},
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
110
|
+
"devEngines": {
|
|
111
|
+
"runtime": {
|
|
112
|
+
"name": "node",
|
|
113
|
+
"version": ">=20.19.0",
|
|
114
|
+
"onFail": "error"
|
|
115
|
+
},
|
|
116
|
+
"packageManager": {
|
|
117
|
+
"name": "npm",
|
|
118
|
+
"version": ">=11.0.0",
|
|
119
|
+
"onFail": "error"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
116
122
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package.json",
|
|
3
3
|
"name": "eslint-plugin-etc-misc",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "ESLint Plugin combining eslint-plugin-etc and eslint-plugin-misc!",
|
|
7
7
|
"keywords": [
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"lint:unused-deps": "depcheck --ignores='@types/*,@testing-library/*,@vitest/*'",
|
|
152
152
|
"lint:yaml": "cross-env NODE_OPTIONS=--max_old_space_size=16384 eslint --cache --cache-strategy content --cache-location .cache/.eslintcache \"**/*.{yml,yaml}\" && echo \"YAML lint done!\"",
|
|
153
153
|
"lint:yaml:fix": "cross-env NODE_OPTIONS=--max_old_space_size=16384 eslint --cache --cache-strategy content --cache-location .cache/.eslintcache --fix \"**/*.{yml,yaml}\" && echo \"YAML lint (fix) done!\"",
|
|
154
|
-
"madge:circular": "
|
|
154
|
+
"madge:circular": "node scripts/lint-circular-deps.mjs",
|
|
155
155
|
"madge:leaves": "madge --leaves --no-spinner --ts-config tsconfig.json --extensions ts,tsx,js,jsx,mjs,cjs,cts,mts ./src --exclude \"(^|[\\/])(test|dist|node_modules|cache|.cache|coverage|build|eslint-inspector|temp|.docusaurus)($|[\\/])|\\.css$\"",
|
|
156
156
|
"madge:orphans": "madge --orphans --no-spinner --ts-config tsconfig.json --extensions ts,tsx,js,jsx,mjs,cjs,cts,mts ./src --exclude \"(^|[\\/])(test|dist|node_modules|cache|.cache|coverage|build|eslint-inspector|temp|.docusaurus)($|[\\/])|\\.css$\"",
|
|
157
157
|
"open:coverage": "open-cli coverage/index.html",
|
|
@@ -316,7 +316,8 @@
|
|
|
316
316
|
"eslint-plugin-toml": "^1.3.1",
|
|
317
317
|
"eslint-plugin-total-functions": "^7.1.0",
|
|
318
318
|
"eslint-plugin-tsdoc": "^0.5.2",
|
|
319
|
-
"eslint-plugin-tsdoc-require-2": "^1.0.
|
|
319
|
+
"eslint-plugin-tsdoc-require-2": "^1.0.4",
|
|
320
|
+
"eslint-plugin-typefest": "^1.0.2",
|
|
320
321
|
"eslint-plugin-undefined-css-classes": "^0.1.5",
|
|
321
322
|
"eslint-plugin-unicorn": "^63.0.0",
|
|
322
323
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
@@ -503,7 +504,7 @@
|
|
|
503
504
|
"stylelint-no-restricted-syntax": "^2.2.1",
|
|
504
505
|
"stylelint-no-unresolved-module": "^2.5.2",
|
|
505
506
|
"stylelint-no-unsupported-browser-features": "^8.1.1",
|
|
506
|
-
"stylelint-order": "^8.1.
|
|
507
|
+
"stylelint-order": "^8.1.1",
|
|
507
508
|
"stylelint-plugin-defensive-css": "^2.6.0",
|
|
508
509
|
"stylelint-plugin-logical-css": "^2.0.2",
|
|
509
510
|
"stylelint-plugin-use-baseline": "^1.2.7",
|
|
@@ -534,13 +535,21 @@
|
|
|
534
535
|
"engines": {
|
|
535
536
|
"node": ">=20.19.0"
|
|
536
537
|
},
|
|
537
|
-
"
|
|
538
|
-
"
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
538
|
+
"devEngines": {
|
|
539
|
+
"runtime": {
|
|
540
|
+
"name": "node",
|
|
541
|
+
"version": ">=20.19.0",
|
|
542
|
+
"onFail": "error"
|
|
543
|
+
},
|
|
544
|
+
"packageManager": {
|
|
545
|
+
"name": "npm",
|
|
546
|
+
"version": ">=11.0.0",
|
|
547
|
+
"onFail": "error"
|
|
548
|
+
}
|
|
549
|
+
},
|
|
542
550
|
"publishConfig": {
|
|
543
|
-
"provenance": true
|
|
551
|
+
"provenance": true,
|
|
552
|
+
"registry": "https://registry.npmjs.org/"
|
|
544
553
|
},
|
|
545
554
|
"readme": "README.md"
|
|
546
555
|
}
|