-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.cjs
31 lines (31 loc) · 989 Bytes
/
.eslintrc.cjs
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
module.exports = {
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 2020,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
project: ['./tsconfig.json', './packages/core/tsconfig.json','./packages/layout/tsconfig.json']
},
extends: [
'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended',
],
rules: {
// 'no-unused-vars': 'warn',
// '@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/consistent-type-exports': 'warn',
'@typescript-eslint/consistent-type-imports': 'warn',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'prettier/prettier': 'warn',
'vue/require-default-prop': 'off',
'vue/no-setup-props-destructure': 'off',
'@typescript-eslint/no-empty-function': 'off',
'vue/one-component-per-file': 'off',
},
}