@azat-io/eslint-config 2.70.0 → 2.71.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/core/index.js +6 -22
- package/package.json +8 -9
package/dist/core/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import eslintCommentsPlugin from "@eslint-community/eslint-plugin-eslint-comments";
|
|
2
2
|
import preferLetPlugin from "eslint-plugin-prefer-let";
|
|
3
3
|
import deMorganPlugin from "eslint-plugin-de-morgan";
|
|
4
|
-
import
|
|
4
|
+
import importPlugin from "eslint-plugin-import-lite";
|
|
5
5
|
import promisePlugin from "eslint-plugin-promise";
|
|
6
6
|
import sonarjsPlugin from "eslint-plugin-sonarjs";
|
|
7
7
|
import unicornPlugin from "eslint-plugin-unicorn";
|
|
@@ -45,7 +45,7 @@ function core(config) {
|
|
|
45
45
|
plugins: {
|
|
46
46
|
"de-morgan": deMorganPlugin,
|
|
47
47
|
"eslint-comments": eslintCommentsPlugin,
|
|
48
|
-
|
|
48
|
+
import: importPlugin,
|
|
49
49
|
jsdoc: jsdocPlugin,
|
|
50
50
|
"prefer-let": preferLetPlugin,
|
|
51
51
|
promise: promisePlugin,
|
|
@@ -335,26 +335,10 @@ function core(config) {
|
|
|
335
335
|
"eslint-comments/no-unlimited-disable": "error",
|
|
336
336
|
"eslint-comments/no-unused-disable": "error",
|
|
337
337
|
"eslint-comments/no-unused-enable": "error",
|
|
338
|
-
"import
|
|
339
|
-
"import
|
|
340
|
-
"import-
|
|
341
|
-
"import
|
|
342
|
-
"import-x/no-absolute-path": "error",
|
|
343
|
-
"import-x/no-amd": "error",
|
|
344
|
-
"import-x/no-empty-named-blocks": "error",
|
|
345
|
-
"import-x/no-extraneous-dependencies": [
|
|
346
|
-
"error",
|
|
347
|
-
{
|
|
348
|
-
devDependencies: true,
|
|
349
|
-
optionalDependencies: false,
|
|
350
|
-
peerDependencies: false
|
|
351
|
-
}
|
|
352
|
-
],
|
|
353
|
-
"import-x/no-import-module-exports": "error",
|
|
354
|
-
"import-x/no-named-default": "error",
|
|
355
|
-
"import-x/no-self-import": "error",
|
|
356
|
-
"import-x/no-useless-path-segments": "error",
|
|
357
|
-
"import-x/no-webpack-loader-syntax": "error",
|
|
338
|
+
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
|
|
339
|
+
"import/first": "error",
|
|
340
|
+
"import/newline-after-import": "error",
|
|
341
|
+
"import/no-named-default": "error",
|
|
358
342
|
"jsdoc/check-access": "error",
|
|
359
343
|
"jsdoc/check-alignment": "error",
|
|
360
344
|
"jsdoc/check-param-names": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azat-io/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.71.0",
|
|
4
4
|
"description": "ESLint shareable config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -27,19 +27,18 @@
|
|
|
27
27
|
"./dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@eslint-community/eslint-plugin-eslint-comments": "^4.
|
|
30
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
|
|
31
31
|
"@vitest/eslint-plugin": "1.6.9",
|
|
32
32
|
"astro-eslint-parser": "^1.3.0",
|
|
33
33
|
"eslint-config-flat-gitignore": "^2.2.1",
|
|
34
|
-
"eslint-import-resolver-typescript": "^4.4.4",
|
|
35
34
|
"eslint-plugin-astro": "^1.6.0",
|
|
36
|
-
"eslint-plugin-de-morgan": "^2.
|
|
35
|
+
"eslint-plugin-de-morgan": "^2.1.1",
|
|
37
36
|
"eslint-plugin-depend": "^1.4.0",
|
|
38
|
-
"eslint-plugin-import-
|
|
39
|
-
"eslint-plugin-jsdoc": "^62.7.
|
|
37
|
+
"eslint-plugin-import-lite": "^0.5.2",
|
|
38
|
+
"eslint-plugin-jsdoc": "^62.7.1",
|
|
40
39
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
41
40
|
"eslint-plugin-n": "^17.24.0",
|
|
42
|
-
"eslint-plugin-package-json": "^0.89.
|
|
41
|
+
"eslint-plugin-package-json": "^0.89.2",
|
|
43
42
|
"eslint-plugin-perfectionist": "^5.6.0",
|
|
44
43
|
"eslint-plugin-prefer-let": "^4.1.0",
|
|
45
44
|
"eslint-plugin-promise": "^7.2.1",
|
|
@@ -57,9 +56,9 @@
|
|
|
57
56
|
"eslint-plugin-svelte": "^3.15.0",
|
|
58
57
|
"eslint-plugin-unicorn": "^63.0.0",
|
|
59
58
|
"eslint-plugin-vue": "^10.8.0",
|
|
60
|
-
"globals": "^17.
|
|
59
|
+
"globals": "^17.4.0",
|
|
61
60
|
"jsonc-eslint-parser": "^3.1.0",
|
|
62
|
-
"svelte-eslint-parser": "^1.5.
|
|
61
|
+
"svelte-eslint-parser": "^1.5.1",
|
|
63
62
|
"typescript-eslint": "^8.56.1",
|
|
64
63
|
"vue-eslint-parser": "^10.4.0"
|
|
65
64
|
},
|