mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
38 lines
731 B
JavaScript
38 lines
731 B
JavaScript
import pluginVue from 'eslint-plugin-vue'
|
|
import eslintConfigPrettier from 'eslint-config-prettier'
|
|
|
|
export default [
|
|
...pluginVue.configs['flat/recommended'],
|
|
eslintConfigPrettier,
|
|
{
|
|
rules: {
|
|
'vue/component-name-in-template-casing': [
|
|
'error',
|
|
'PascalCase',
|
|
{
|
|
registeredComponentsOnly: true,
|
|
ignores: [],
|
|
},
|
|
],
|
|
},
|
|
ignores: [
|
|
'.DS_Store',
|
|
'node_modules',
|
|
'/dist',
|
|
'.env.local',
|
|
'.env.*.local',
|
|
'npm-debug.log*',
|
|
'yarn-debug.log*',
|
|
'yarn-error.log*',
|
|
'pnpm-debug.log*',
|
|
'.idea',
|
|
'.vscode',
|
|
'*.suo',
|
|
'*.ntvs*',
|
|
'*.njsproj',
|
|
'.sln',
|
|
'*.sw?',
|
|
],
|
|
},
|
|
]
|