2026-01-06 18:22:32 +02:00
|
|
|
import { defineConfig, globalIgnores } from 'eslint/config'
|
2026-01-06 16:23:17 +02:00
|
|
|
import vue from 'eslint-plugin-vue'
|
2025-02-04 14:13:26 +02:00
|
|
|
|
2026-01-06 18:04:11 +02:00
|
|
|
export default defineConfig([
|
2025-02-04 14:13:26 +02:00
|
|
|
...vue.configs['flat/recommended'],
|
2026-01-06 18:22:32 +02:00
|
|
|
globalIgnores(['**/*.js', 'build/', 'dist/', 'config/']),
|
2025-02-04 14:13:26 +02:00
|
|
|
{
|
2026-01-06 18:04:11 +02:00
|
|
|
files: ['src/**/*.vue'],
|
2025-02-04 14:13:26 +02:00
|
|
|
languageOptions: {
|
|
|
|
|
parserOptions: {
|
2026-01-06 16:22:52 +02:00
|
|
|
parser: '@babel/eslint-parser',
|
2025-02-04 14:13:26 +02:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
rules: {
|
|
|
|
|
'vue/require-prop-types': 0,
|
|
|
|
|
'vue/multi-word-component-names': 0,
|
2026-01-06 16:22:52 +02:00
|
|
|
},
|
2026-01-06 18:22:32 +02:00
|
|
|
},
|
2026-01-06 18:04:11 +02:00
|
|
|
])
|