@dword-design/eslint-config 5.0.5 → 5.0.7
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/create/index.js +9 -6
- package/package.json +6 -5
package/dist/create/index.js
CHANGED
|
@@ -41,6 +41,9 @@ export default (() => {
|
|
|
41
41
|
}],
|
|
42
42
|
parser: packageName`vue-eslint-parser`,
|
|
43
43
|
parserOptions: {
|
|
44
|
+
babelOptions: {
|
|
45
|
+
rootMode: 'upward-optional'
|
|
46
|
+
},
|
|
44
47
|
parser: packageName`@babel/eslint-parser`
|
|
45
48
|
},
|
|
46
49
|
plugins: [packageName`eslint-plugin-prefer-arrow`, packageName`eslint-plugin-simple-import-sort`, packageName`eslint-plugin-json-format`, packageName`eslint-plugin-sort-keys-fix`, packageName`eslint-plugin-github`, packageName`eslint-plugin-unicorn`],
|
|
@@ -92,10 +95,6 @@ export default (() => {
|
|
|
92
95
|
blankLine: 'never',
|
|
93
96
|
next: '*',
|
|
94
97
|
prev: '*'
|
|
95
|
-
}, {
|
|
96
|
-
blankLine: 'always',
|
|
97
|
-
next: ['var', 'const'],
|
|
98
|
-
prev: ['*']
|
|
99
98
|
}, {
|
|
100
99
|
blankLine: 'always',
|
|
101
100
|
next: '*',
|
|
@@ -106,11 +105,15 @@ export default (() => {
|
|
|
106
105
|
prev: 'import'
|
|
107
106
|
}, {
|
|
108
107
|
blankLine: 'always',
|
|
109
|
-
next: '
|
|
108
|
+
next: 'multiline-expression',
|
|
110
109
|
prev: '*'
|
|
111
110
|
}, {
|
|
112
111
|
blankLine: 'always',
|
|
113
|
-
next: '
|
|
112
|
+
next: 'multiline-block-like',
|
|
113
|
+
prev: '*'
|
|
114
|
+
}, {
|
|
115
|
+
blankLine: 'always',
|
|
116
|
+
next: 'export',
|
|
114
117
|
prev: '*'
|
|
115
118
|
}],
|
|
116
119
|
'prefer-arrow/prefer-arrow-functions': ['error'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/eslint-config",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.7",
|
|
4
4
|
"repository": "dword-design/eslint-config",
|
|
5
5
|
"funding": "https://github.com/sponsors/dword-design",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@babel/eslint-parser": "^7.13.14",
|
|
25
|
-
"@dword-design/eslint-plugin-import-alias": "^
|
|
25
|
+
"@dword-design/eslint-plugin-import-alias": "^5.0.0",
|
|
26
26
|
"@dword-design/functions": "^6.0.0",
|
|
27
27
|
"confusing-browser-globals": "^1.0.11",
|
|
28
28
|
"depcheck-package-name": "^3.0.0",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"eslint-plugin-prefer-arrow": "^1.1.6",
|
|
37
37
|
"eslint-plugin-prettier": "^5.1.3",
|
|
38
38
|
"eslint-plugin-promise": "^6.1.1",
|
|
39
|
-
"eslint-plugin-simple-import-sort": "^
|
|
39
|
+
"eslint-plugin-simple-import-sort": "^12.1.0",
|
|
40
40
|
"eslint-plugin-sort-keys-fix": "^1.1.1",
|
|
41
|
-
"eslint-plugin-unicorn": "^
|
|
41
|
+
"eslint-plugin-unicorn": "^54.0.0",
|
|
42
42
|
"eslint-plugin-vue": "^9.10.0",
|
|
43
43
|
"jiti": "^1.18.2",
|
|
44
44
|
"load-pkg": "^4.0.0",
|
|
@@ -50,8 +50,9 @@
|
|
|
50
50
|
"@dword-design/base": "^11.0.1",
|
|
51
51
|
"deepmerge": "^4.2.2",
|
|
52
52
|
"eslint": "^8.35.0",
|
|
53
|
-
"execa": "^
|
|
53
|
+
"execa": "^9.3.0",
|
|
54
54
|
"fs-extra": "^11.1.1",
|
|
55
|
+
"in-folder": "^1.0.3",
|
|
55
56
|
"node-version": "^3.0.0",
|
|
56
57
|
"output-files": "^2.0.0",
|
|
57
58
|
"with-local-tmp-dir": "^5.0.0"
|