You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
module.exports = {
|
|
|
root: true,
|
|
|
env: {
|
|
|
node: true,
|
|
|
browser: true
|
|
|
},
|
|
|
extends: [
|
|
|
'eslint:recommended',
|
|
|
'plugin:vue/vue3-recommended',
|
|
|
"prettier/vue",
|
|
|
"plugin:prettier/recommended"
|
|
|
],
|
|
|
parserOptions: {
|
|
|
parser: 'babel-eslint'
|
|
|
},
|
|
|
plugins: ['prettier'],
|
|
|
rules: {
|
|
|
"indent": ["error", 4],
|
|
|
"linebreak-style": ["error", "unix"],
|
|
|
'vue/no-unused-vars': 'error',
|
|
|
'vue/component-name-in-template-casing': ['error', 'PascalCase']
|
|
|
}
|
|
|
}
|