mattercontrol/eslint.config.js

32 lines
692 B
JavaScript
Raw Normal View History

2026-01-28 22:41:50 -08:00
import js from '@eslint/js'
import tseslint from 'typescript-eslint'
import pluginVue from 'eslint-plugin-vue'
import eslintConfigPrettier from 'eslint-config-prettier'
2026-01-29 01:23:34 -08:00
import globals from 'globals'
2026-01-28 22:41:50 -08:00
export default tseslint.config(
{ ignores: ['dist', 'node_modules'] },
js.configs.recommended,
...tseslint.configs.recommended,
...pluginVue.configs['flat/recommended'],
2026-01-29 01:23:34 -08:00
{
languageOptions: {
globals: {
...globals.browser,
},
},
},
2026-01-28 22:41:50 -08:00
{
files: ['**/*.vue'],
languageOptions: {
parserOptions: {
parser: tseslint.parser,
},
},
2026-01-29 01:23:34 -08:00
rules: {
'vue/multi-word-component-names': 'off',
},
2026-01-28 22:41:50 -08:00
},
eslintConfigPrettier
)