Files
OpenDTU/webapp/eslint.config.js

27 lines
551 B
JavaScript
Raw Normal View History

2024-04-12 20:02:18 +02:00
/* eslint-env node */
import js from "@eslint/js";
import pluginVue from 'eslint-plugin-vue'
2024-10-05 23:33:23 +02:00
import vueTsEslintConfig from '@vue/eslint-config-typescript'
2024-04-12 20:02:18 +02:00
export default [
js.configs.recommended,
...pluginVue.configs['flat/essential'],
2024-10-05 23:33:23 +02:00
...vueTsEslintConfig(),
2024-04-12 20:02:18 +02:00
{
files: [
"**/*.vue",
"**/*.js",
"**/*.jsx",
"**/*.cjs",
"**/*.mjs",
"**/*.ts",
"**/*.tsx",
"**/*.cts",
"**/*.mts",
],
languageOptions: {
2024-06-29 00:33:49 +02:00
ecmaVersion: 2022
2024-04-12 20:02:18 +02:00
},
}
]