@dword-design/eslint-config 5.0.10 → 5.0.12
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 +3 -1
- package/package.json +2 -1
package/dist/create/index.js
CHANGED
|
@@ -68,6 +68,7 @@ export default (() => {
|
|
|
68
68
|
checkLoops: false
|
|
69
69
|
}],
|
|
70
70
|
'no-continue': 'off',
|
|
71
|
+
'no-lonely-if': 'off',
|
|
71
72
|
'no-negated-condition': 'error',
|
|
72
73
|
'no-param-reassign': 'off',
|
|
73
74
|
'no-promise-executor-return': 'off',
|
|
@@ -122,12 +123,13 @@ export default (() => {
|
|
|
122
123
|
prev: '*'
|
|
123
124
|
}],
|
|
124
125
|
'prefer-arrow/prefer-arrow-functions': ['error'],
|
|
125
|
-
'prefer-destructuring': 'off',
|
|
126
126
|
[`${packageName`prettier`}/prettier`]: ['error', {
|
|
127
127
|
arrowParens: 'avoid',
|
|
128
|
+
plugins: [packageName`prettier-plugin-compactify`],
|
|
128
129
|
singleQuote: true,
|
|
129
130
|
trailingComma: 'all'
|
|
130
131
|
}],
|
|
132
|
+
'prefer-destructuring': 'off',
|
|
131
133
|
'promise/prefer-await-to-then': 'error',
|
|
132
134
|
'require-await': 'error',
|
|
133
135
|
'simple-import-sort/imports': '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.12",
|
|
4
4
|
"repository": "dword-design/eslint-config",
|
|
5
5
|
"funding": "https://github.com/sponsors/dword-design",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"load-pkg": "^4.0.0",
|
|
45
45
|
"lodash-es": "^4.17.21",
|
|
46
46
|
"prettier": "^3.2.4",
|
|
47
|
+
"prettier-plugin-compactify": "npm:@dword-design/prettier-plugin-compactify@^0.0",
|
|
47
48
|
"vue-eslint-parser": "^9.1.1"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|