@dword-design/eslint-config 8.0.1 → 8.0.2
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 +10 -11
- package/package.json +1 -1
package/dist/create/index.js
CHANGED
|
@@ -195,16 +195,7 @@ export default ({
|
|
|
195
195
|
svg: true,
|
|
196
196
|
xml: true
|
|
197
197
|
})
|
|
198
|
-
}]
|
|
199
|
-
"vue/attributes-order": ["error", {
|
|
200
|
-
alphabetical: true
|
|
201
|
-
}],
|
|
202
|
-
"vue/no-deprecated-functional-template": "error",
|
|
203
|
-
"vue/order-in-components": "off",
|
|
204
|
-
"vue/prefer-true-attribute-shorthand": "error",
|
|
205
|
-
"vue/require-default-prop": "off",
|
|
206
|
-
"vue/require-prop-types": "off"
|
|
207
|
-
// Complains about title not being a string if variable is passed
|
|
198
|
+
}]
|
|
208
199
|
},
|
|
209
200
|
settings: {
|
|
210
201
|
"import-x/resolver-next": [createTypeScriptImportResolver({
|
|
@@ -232,7 +223,15 @@ export default ({
|
|
|
232
223
|
}, {
|
|
233
224
|
files: ["**/*.vue"],
|
|
234
225
|
rules: {
|
|
235
|
-
"vue/
|
|
226
|
+
"vue/attributes-order": ["error", {
|
|
227
|
+
alphabetical: true
|
|
228
|
+
}],
|
|
229
|
+
"vue/component-api-style": ["error", ["script-setup"]],
|
|
230
|
+
"vue/multi-word-component-names": "off",
|
|
231
|
+
"vue/no-deprecated-functional-template": "error",
|
|
232
|
+
"vue/prefer-true-attribute-shorthand": "error",
|
|
233
|
+
"vue/prefer-use-template-ref": "error",
|
|
234
|
+
"vue/require-default-prop": "off"
|
|
236
235
|
}
|
|
237
236
|
}]);
|
|
238
237
|
};
|