@iqrf/eslint-config 0.1.13 → 0.2.0
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.
- package/dist/index.js +7 -9
- package/package.json +12 -13
package/dist/index.js
CHANGED
|
@@ -407,8 +407,6 @@ var stylistic = [
|
|
|
407
407
|
// src/configs/typescript.ts
|
|
408
408
|
import path2 from "node:path";
|
|
409
409
|
import process4 from "node:process";
|
|
410
|
-
import { fixupPluginRules } from "@eslint/compat";
|
|
411
|
-
import pluginDeprecation from "eslint-plugin-deprecation";
|
|
412
410
|
import tsEslint from "typescript-eslint";
|
|
413
411
|
|
|
414
412
|
// src/env.ts
|
|
@@ -429,7 +427,8 @@ var configs = [
|
|
|
429
427
|
{
|
|
430
428
|
extends: [
|
|
431
429
|
...tsEslint.configs.recommendedTypeChecked,
|
|
432
|
-
...tsEslint.configs.stylisticTypeChecked
|
|
430
|
+
...tsEslint.configs.stylisticTypeChecked,
|
|
431
|
+
...tsEslint.configs.strictTypeChecked
|
|
433
432
|
],
|
|
434
433
|
files: ["**/*.ts", "**/*.tsx"],
|
|
435
434
|
languageOptions: {
|
|
@@ -440,8 +439,7 @@ var configs = [
|
|
|
440
439
|
}
|
|
441
440
|
},
|
|
442
441
|
plugins: {
|
|
443
|
-
"@typescript-eslint": tsEslint.plugin
|
|
444
|
-
deprecation: fixupPluginRules(pluginDeprecation)
|
|
442
|
+
"@typescript-eslint": tsEslint.plugin
|
|
445
443
|
},
|
|
446
444
|
rules: {
|
|
447
445
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
@@ -454,11 +452,11 @@ var configs = [
|
|
|
454
452
|
],
|
|
455
453
|
"@typescript-eslint/explicit-member-accessibility": "error",
|
|
456
454
|
"@typescript-eslint/no-duplicate-enum-values": "warn",
|
|
455
|
+
"@typescript-eslint/no-dynamic-delete": "warn",
|
|
457
456
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
458
457
|
"@typescript-eslint/no-extraneous-class": "off",
|
|
459
458
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
460
|
-
"@typescript-eslint/no-unsafe-call": "warn"
|
|
461
|
-
"deprecation/deprecation": "error"
|
|
459
|
+
"@typescript-eslint/no-unsafe-call": "warn"
|
|
462
460
|
}
|
|
463
461
|
}
|
|
464
462
|
];
|
|
@@ -589,7 +587,7 @@ var vitest = [
|
|
|
589
587
|
];
|
|
590
588
|
|
|
591
589
|
// src/configs/vue.ts
|
|
592
|
-
import { fixupPluginRules
|
|
590
|
+
import { fixupPluginRules } from "@eslint/compat";
|
|
593
591
|
import pluginVue from "eslint-plugin-vue";
|
|
594
592
|
import pluginVueScopedCSS from "eslint-plugin-vue-scoped-css";
|
|
595
593
|
import pluginVuetify from "eslint-plugin-vuetify";
|
|
@@ -617,7 +615,7 @@ var vue = (options) => [
|
|
|
617
615
|
plugins: {
|
|
618
616
|
vue: pluginVue,
|
|
619
617
|
...options.vuetify ? {
|
|
620
|
-
vuetify:
|
|
618
|
+
vuetify: fixupPluginRules(pluginVuetify)
|
|
621
619
|
} : {}
|
|
622
620
|
},
|
|
623
621
|
languageOptions: {
|
package/package.json
CHANGED
|
@@ -15,24 +15,23 @@
|
|
|
15
15
|
],
|
|
16
16
|
"description": "ESLint configuration for IQRF projects",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@eslint/compat": "^1.
|
|
19
|
-
"@eslint/js": "^9.
|
|
18
|
+
"@eslint/compat": "^1.2.0",
|
|
19
|
+
"@eslint/js": "^9.12.0",
|
|
20
20
|
"@intlify/eslint-plugin-vue-i18n": "^3.0.0",
|
|
21
|
-
"@stylistic/eslint-plugin": "^2.
|
|
22
|
-
"@typescript-eslint/parser": "^8.
|
|
23
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
21
|
+
"@stylistic/eslint-plugin": "^2.9.0",
|
|
22
|
+
"@typescript-eslint/parser": "^8.8.0",
|
|
23
|
+
"@vitest/eslint-plugin": "^1.1.6",
|
|
24
24
|
"eslint-config-flat-gitignore": "^0.3.0",
|
|
25
25
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
26
26
|
"eslint-plugin-cypress": "^3.5.0",
|
|
27
|
-
"eslint-plugin-deprecation": "^3.0.0",
|
|
28
27
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
29
|
-
"eslint-plugin-import-x": "^4.3.
|
|
30
|
-
"eslint-plugin-jsdoc": "^50.3.
|
|
28
|
+
"eslint-plugin-import-x": "^4.3.1",
|
|
29
|
+
"eslint-plugin-jsdoc": "^50.3.1",
|
|
31
30
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
32
31
|
"eslint-plugin-markdown": "^5.1.0",
|
|
33
32
|
"eslint-plugin-math": "^0.6.0",
|
|
34
33
|
"eslint-plugin-n": "^17.10.3",
|
|
35
|
-
"eslint-plugin-perfectionist": "^3.
|
|
34
|
+
"eslint-plugin-perfectionist": "^3.8.0",
|
|
36
35
|
"eslint-plugin-pinia": "^0.4.1",
|
|
37
36
|
"eslint-plugin-promise": "^7.1.0",
|
|
38
37
|
"eslint-plugin-regexp": "^2.6.0",
|
|
@@ -40,10 +39,10 @@
|
|
|
40
39
|
"eslint-plugin-vue": "^9.28.0",
|
|
41
40
|
"eslint-plugin-vue-scoped-css": "^2.8.1",
|
|
42
41
|
"eslint-plugin-vuetify": "^2.4.0",
|
|
43
|
-
"globals": "^15.
|
|
42
|
+
"globals": "^15.10.0",
|
|
44
43
|
"jsonc-eslint-parser": "^2.4.0",
|
|
45
44
|
"local-pkg": "^0.5.0",
|
|
46
|
-
"typescript-eslint": "^8.
|
|
45
|
+
"typescript-eslint": "^8.8.0",
|
|
47
46
|
"vue-eslint-parser": "^9.4.3"
|
|
48
47
|
},
|
|
49
48
|
"devDependencies": {
|
|
@@ -52,7 +51,7 @@
|
|
|
52
51
|
"@types/eslint__js": "^8.42.3",
|
|
53
52
|
"@types/node": "^22.7.4",
|
|
54
53
|
"bumpp": "^9.6.1",
|
|
55
|
-
"eslint": "^9.
|
|
54
|
+
"eslint": "^9.12.0",
|
|
56
55
|
"eslint-plugin-eslint-plugin": "^6.2.0",
|
|
57
56
|
"tsup": "^8.3.0",
|
|
58
57
|
"tsx": "^4.19.1",
|
|
@@ -86,7 +85,7 @@
|
|
|
86
85
|
},
|
|
87
86
|
"type": "module",
|
|
88
87
|
"types": "dist/index.d.ts",
|
|
89
|
-
"version": "0.
|
|
88
|
+
"version": "0.2.0",
|
|
90
89
|
"scripts": {
|
|
91
90
|
"build": "tsup",
|
|
92
91
|
"lint": "eslint .",
|