Customize ESLint

This commit is contained in:
Buster Neece 2022-12-29 15:14:53 -06:00
parent b0a7a323bd
commit 04fc47ee1e
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
2 changed files with 11 additions and 2 deletions

View File

@ -3,5 +3,13 @@ module.exports = {
'eslint:recommended',
'plugin:vue/vue3-recommended'
],
rules: {}
rules: {
"vue/multi-word-component-names": "off",
"vue/html-indent": ["error", 4, {
"attribute": 1,
"baseIndent": 1,
"closeBracket": 0,
"alignAttributesVertically": true
}]
}
}

View File

@ -135,7 +135,8 @@ module.exports = {
},
plugins: [
new ESLintPlugin({
extensions: ['js']
extensions: ['js', 'vue'],
fix: true,
}),
new WebpackAssetsManifest({
output: path.resolve(__dirname, '../web/static/webpack.json'),