@schoero/configs 1.0.23 → 1.0.24
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/eslint/imports.js +7 -7
- package/eslint/markdown.js +3 -3
- package/package.json +1 -1
package/eslint/imports.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import eslintPluginImportX from "eslint-plugin-import-x";
|
|
2
2
|
import eslintPluginImportNewlines from "eslint-plugin-import-newlines";
|
|
3
3
|
import eslintPluginSimpleImportSort from "eslint-plugin-simple-import-sort";
|
|
4
4
|
import eslintPluginUnusedImports from "eslint-plugin-unused-imports";
|
|
@@ -10,17 +10,17 @@ export const imports = [
|
|
|
10
10
|
plugins: {
|
|
11
11
|
"eslint-plugin-unused-imports": eslintPluginUnusedImports,
|
|
12
12
|
"eslint-plugin-import-newlines": eslintPluginImportNewlines,
|
|
13
|
-
"eslint-plugin-import":
|
|
13
|
+
"eslint-plugin-import-x": eslintPluginImportX,
|
|
14
14
|
"eslint-plugin-simple-import-sort": eslintPluginSimpleImportSort
|
|
15
15
|
},
|
|
16
16
|
rules: {
|
|
17
17
|
"eslint-plugin-unused-imports/no-unused-imports": "warn",
|
|
18
18
|
|
|
19
|
-
"eslint-plugin-import/first": "warn",
|
|
20
|
-
"eslint-plugin-import/newline-after-import": ["warn", { count: 2 }],
|
|
21
|
-
"eslint-plugin-import/no-duplicates": "warn",
|
|
22
|
-
"eslint-plugin-import/no-self-import": "warn",
|
|
23
|
-
"eslint-plugin-import/no-useless-path-segments": ["warn", { noUselessIndex: false }],
|
|
19
|
+
"eslint-plugin-import-x/first": "warn",
|
|
20
|
+
"eslint-plugin-import-x/newline-after-import": ["warn", { count: 2 }],
|
|
21
|
+
"eslint-plugin-import-x/no-duplicates": "warn",
|
|
22
|
+
"eslint-plugin-import-x/no-self-import": "warn",
|
|
23
|
+
"eslint-plugin-import-x/no-useless-path-segments": ["warn", { noUselessIndex: false }],
|
|
24
24
|
|
|
25
25
|
"eslint-plugin-import-newlines/enforce": ["warn", { "items": 6, "max-len": 119 }],
|
|
26
26
|
|
package/eslint/markdown.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import eslintPluginImportX from "eslint-plugin-import-x";
|
|
2
2
|
import eslintPluginJsonc from "eslint-plugin-jsonc";
|
|
3
3
|
import eslintPluginMarkdown from "eslint-plugin-markdown";
|
|
4
4
|
import eslintPluginUnusedImports from "eslint-plugin-unused-imports";
|
|
@@ -12,12 +12,12 @@ export const markdown = [
|
|
|
12
12
|
{
|
|
13
13
|
files: ["**/*.{md,mdx}/*.{ts,tsx,mjs,cjs,js,jsx}"],
|
|
14
14
|
plugins: {
|
|
15
|
-
"eslint-plugin-import":
|
|
15
|
+
"eslint-plugin-import-x": eslintPluginImportX,
|
|
16
16
|
"eslint-plugin-markdown": eslintPluginMarkdown,
|
|
17
17
|
"eslint-plugin-unused-imports": eslintPluginUnusedImports
|
|
18
18
|
},
|
|
19
19
|
rules: {
|
|
20
|
-
"eslint-plugin-import/newline-after-import": ["warn", { count: 1 }],
|
|
20
|
+
"eslint-plugin-import-x/newline-after-import": ["warn", { count: 1 }],
|
|
21
21
|
"eslint-plugin-unused-imports/no-unused-imports": "off"
|
|
22
22
|
}
|
|
23
23
|
},
|
package/package.json
CHANGED