eslint-config-matsuri 5.2.5 → 5.4.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/README.md +0 -1
- package/configs/javascript.js +0 -14
- package/package.json +5 -6
package/README.md
CHANGED
package/configs/javascript.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import globals from "globals";
|
|
2
2
|
import js from "@eslint/js";
|
|
3
3
|
import pluginPrettier from "eslint-config-prettier";
|
|
4
|
-
import pluginSortImports from "eslint-plugin-sort-imports-es6-autofix";
|
|
5
4
|
import pluginUnusedImport from "eslint-plugin-unused-imports";
|
|
6
5
|
|
|
7
6
|
/** @type {import("eslint").Linter.Config } */
|
|
@@ -11,7 +10,6 @@ export const jsConfig = {
|
|
|
11
10
|
},
|
|
12
11
|
files: ["**/*.js", "**/*.mjs", "**/*.ts", "**/*.tsx"],
|
|
13
12
|
plugins: {
|
|
14
|
-
"sort-imports-es6-autofix": pluginSortImports,
|
|
15
13
|
"unused-imports": pluginUnusedImport,
|
|
16
14
|
},
|
|
17
15
|
languageOptions: {
|
|
@@ -41,18 +39,6 @@ export const jsConfig = {
|
|
|
41
39
|
"top",
|
|
42
40
|
],
|
|
43
41
|
|
|
44
|
-
/**
|
|
45
|
-
* eslint-plugin-sort-imports-es6-autofix
|
|
46
|
-
*/
|
|
47
|
-
"sort-imports-es6-autofix/sort-imports-es6": [
|
|
48
|
-
2,
|
|
49
|
-
{
|
|
50
|
-
ignoreCase: false,
|
|
51
|
-
ignoreMemberSort: false,
|
|
52
|
-
memberSyntaxSortOrder: ["none", "all", "multiple", "single"],
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
|
|
56
42
|
...pluginPrettier.rules,
|
|
57
43
|
|
|
58
44
|
"unused-imports/no-unused-imports": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-matsuri",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "index.js",
|
|
@@ -27,15 +27,14 @@
|
|
|
27
27
|
"eslint": "^8.43.0 || ^9.0.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@eslint/js": "9.
|
|
30
|
+
"@eslint/js": "9.17.0",
|
|
31
31
|
"eslint-config-prettier": "9.1.0",
|
|
32
32
|
"eslint-plugin-css-reorder": "0.5.1",
|
|
33
33
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
34
34
|
"eslint-plugin-react": "7.37.2",
|
|
35
|
-
"eslint-plugin-react-hooks": "5.
|
|
36
|
-
"eslint-plugin-sort-imports-es6-autofix": "0.6.0",
|
|
35
|
+
"eslint-plugin-react-hooks": "5.1.0",
|
|
37
36
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
38
|
-
"globals": "15.
|
|
39
|
-
"typescript-eslint": "8.
|
|
37
|
+
"globals": "15.13.0",
|
|
38
|
+
"typescript-eslint": "8.18.1"
|
|
40
39
|
}
|
|
41
40
|
}
|