36 lines
795 B
JavaScript
36 lines
795 B
JavaScript
/* eslint-env node */
|
|
require('@rushstack/eslint-patch/modern-module-resolution')
|
|
|
|
module.exports = {
|
|
root: true,
|
|
extends: [
|
|
'plugin:vue/vue3-essential',
|
|
'eslint:recommended',
|
|
'@vue/eslint-config-typescript',
|
|
'@vue/eslint-config-prettier/skip-formatting',
|
|
'vue-global-api',
|
|
// 'plugin:import/errors',
|
|
'plugin:import/warnings',
|
|
'plugin:import/typescript'
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 'latest'
|
|
},
|
|
rules: {
|
|
'vue/multi-word-component-names': 0,
|
|
'import/order': [
|
|
'error',
|
|
{
|
|
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type'],
|
|
|
|
// 'newlines-between': 'always',
|
|
|
|
alphabetize: {
|
|
order: 'asc',
|
|
caseInsensitive: true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|