18 lines
461 B
JavaScript
18 lines
461 B
JavaScript
import { defineConfig, globalIgnores } from 'eslint/config'
|
|
import vue from 'eslint-plugin-vue'
|
|
import vueParser from 'vue-eslint-parser'
|
|
|
|
export default defineConfig([
|
|
...vue.configs['flat/recommended'],
|
|
globalIgnores(['**/*.js', 'build/', 'dist/', 'config/']),
|
|
{
|
|
files: ['src/**/*.vue'],
|
|
languageOptions: {
|
|
parser: vueParser,
|
|
},
|
|
rules: {
|
|
'vue/require-prop-types': 0,
|
|
'vue/multi-word-component-names': 0,
|
|
},
|
|
},
|
|
])
|