Files
cloudron-box/dashboard/eslint.config.js

20 lines
484 B
JavaScript
Raw Normal View History

import js from '@eslint/js';
2024-10-04 17:43:45 +02:00
import pluginVue from 'eslint-plugin-vue';
2025-03-09 20:46:56 +01:00
import globals from 'globals';
2024-10-04 17:43:45 +02:00
export default [
js.configs.recommended,
...pluginVue.configs['flat/essential'],
{
2025-03-09 20:46:56 +01:00
languageOptions: {
globals: globals.browser,
},
2024-10-04 17:43:45 +02:00
rules: {
2024-12-16 16:12:54 +01:00
"semi": "error",
"prefer-const": "error",
"vue/no-reserved-component-names": "off",
"vue/multi-word-component-names": "off",
2024-10-04 17:43:45 +02:00
}
}
];