@alexlit/config-eslint 84.3.2 → 84.5.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "84.
|
|
3
|
+
"version": "84.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Eslint config",
|
|
6
6
|
"keywords": [
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"@eslint/eslintrc": "^3.1.0",
|
|
43
43
|
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
|
|
44
44
|
"@tanstack/eslint-plugin-query": "^5.35.6",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
46
|
-
"@typescript-eslint/parser": "^7.
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^7.10.0",
|
|
46
|
+
"@typescript-eslint/parser": "^7.10.0",
|
|
47
47
|
"eslint": "^8.57.0",
|
|
48
48
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
49
49
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -62,16 +62,16 @@
|
|
|
62
62
|
"eslint-plugin-lit": "^1.13.0",
|
|
63
63
|
"eslint-plugin-lit-a11y": "^4.1.2",
|
|
64
64
|
"eslint-plugin-more": "^1.0.5",
|
|
65
|
-
"eslint-plugin-no-await-in-promise": "^
|
|
65
|
+
"eslint-plugin-no-await-in-promise": "^1.1.6",
|
|
66
66
|
"eslint-plugin-no-constructor-bind": "^2.0.4",
|
|
67
67
|
"eslint-plugin-no-explicit-type-exports": "^0.12.1",
|
|
68
68
|
"eslint-plugin-no-loops": "^0.3.0",
|
|
69
69
|
"eslint-plugin-no-secrets": "^1.0.2",
|
|
70
|
-
"eslint-plugin-no-use-extend-native": "^0.
|
|
70
|
+
"eslint-plugin-no-use-extend-native": "^0.6.1",
|
|
71
71
|
"eslint-plugin-node": "^11.1.0",
|
|
72
72
|
"eslint-plugin-prettier": "^5.1.3",
|
|
73
73
|
"eslint-plugin-promise": "^6.1.1",
|
|
74
|
-
"eslint-plugin-regexp": "^2.
|
|
74
|
+
"eslint-plugin-regexp": "^2.6.0",
|
|
75
75
|
"eslint-plugin-security": "^3.0.0",
|
|
76
76
|
"eslint-plugin-simple-import-sort": "^12.1.0",
|
|
77
77
|
"eslint-plugin-sonarjs": "^1.0.3",
|
|
@@ -93,10 +93,5 @@
|
|
|
93
93
|
},
|
|
94
94
|
"engines": {
|
|
95
95
|
"node": ">=18.18"
|
|
96
|
-
},
|
|
97
|
-
"overrides": {
|
|
98
|
-
"eslint": "^8.57.0",
|
|
99
|
-
"eslint-plugin-array-func": "^4.0.0",
|
|
100
|
-
"eslint-plugin-vitest": "^0.5.4"
|
|
101
96
|
}
|
|
102
97
|
}
|
package/utils/create-config.js
CHANGED
|
@@ -45,6 +45,9 @@ const DEFAULT_PLUGINS = {
|
|
|
45
45
|
/** @see [eslint-plugin-more](https://github.com/WebbyLab/eslint-plugin-more) */
|
|
46
46
|
more: true,
|
|
47
47
|
|
|
48
|
+
/** @see [eslint-plugin-no-await-in-promise](https://github.com/hugo-vrijswijk/eslint-plugin-no-await-in-promise/) */
|
|
49
|
+
'no-await-in-promise': true,
|
|
50
|
+
|
|
48
51
|
/** @see [eslint-plugin-no-constructor-bind](https://github.com/markalfred/eslint-plugin-no-constructor-bind) */
|
|
49
52
|
'no-constructor-bind': true,
|
|
50
53
|
|
|
@@ -125,9 +128,6 @@ const DEFAULT_PLUGINS = {
|
|
|
125
128
|
};
|
|
126
129
|
|
|
127
130
|
const OPTIONAL_PLUGINS = {
|
|
128
|
-
/** @see [eslint-plugin-no-await-in-promise](https://github.com/hugo-vrijswijk/eslint-plugin-no-await-in-promise/) */
|
|
129
|
-
'no-await-in-promise': false, // won't work
|
|
130
|
-
|
|
131
131
|
/** @see [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) */
|
|
132
132
|
node: false,
|
|
133
133
|
|