22 lines
485 B
JavaScript
22 lines
485 B
JavaScript
import js from '@eslint/js';
|
|
import globals from 'globals';
|
|
import pluginVue from 'eslint-plugin-vue';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
export default [
|
|
js.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
...pluginVue.configs['flat/recommended'],
|
|
{
|
|
languageOptions: {
|
|
ecmaVersion: 2020,
|
|
sourceType: 'module',
|
|
globals: {
|
|
...globals.browser,
|
|
},
|
|
},
|
|
rules: {
|
|
// 你可以在这里添加或覆盖规则
|
|
},
|
|
},
|
|
]; |