-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy patheslint.config.js
More file actions
31 lines (30 loc) · 848 Bytes
/
Copy patheslint.config.js
File metadata and controls
31 lines (30 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import pluginQuery from '@tanstack/eslint-plugin-query';
import vueTsEslintConfig from '@vue/eslint-config-typescript';
import pluginVue from 'eslint-plugin-vue';
export default [
{
name: 'app/files-to-lint',
files: ['**/*.{ts,mts,tsx,vue}'],
},
{
name: 'app/files-to-ignore',
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**', '**/webserver/**'],
},
...pluginVue.configs['flat/essential'],
...vueTsEslintConfig(),
...pluginQuery.configs['flat/recommended'],
{
rules: {
'prettier/prettier': 'off',
'quotes': ['error', 'single'],
'semi': [
'error',
'always'
],
'vue/multi-word-component-names': 'off',
'vue/require-default-prop': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/no-explicit-any': 'warn'
}
}
];