Customize ESLint
This commit is contained in:
parent
b0a7a323bd
commit
04fc47ee1e
|
@ -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
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue