30 lines
477 B
JavaScript
30 lines
477 B
JavaScript
/**
|
|
* .eslint.js
|
|
*
|
|
* ESLint configuration file.
|
|
*/
|
|
|
|
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
},
|
|
extends: [
|
|
'plugin:vue/vue3-essential',
|
|
'eslint:recommended',
|
|
'vue3-recommended',
|
|
'plugin:prettier/recommend',
|
|
'@vue/eslint-config-typescript',
|
|
],
|
|
rules: {
|
|
'vue/multi-word-component-names': 'off',
|
|
'vue/valid-v-slot': 'off',
|
|
'prettier/prettier': [
|
|
'error',
|
|
{
|
|
endOfLine: 'auto',
|
|
},
|
|
],
|
|
},
|
|
}
|