-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc.cjs
39 lines (36 loc) · 909 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
32
33
34
35
36
37
38
39
/*
* @Author: June
* @Description:
* @Date: 2023-02-21 23:42:31
* @LastEditors: June
* @LastEditTime: 2023-10-02 18:39:45
*/
module.exports = {
root: true,
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 2020,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
tsx: true,
},
},
extends: [
'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended',
'./lib/.eslintrc-auto-import.json',
],
rules: {
// override/add rules settings here, such as:
'vue/multi-word-component-names': 'off',
'vue/prefer-import-from-vue': 'off',
'vue/require-default-prop': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
},
}