-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.js
36 lines (36 loc) · 1.07 KB
/
.eslintrc.js
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
module.exports = {
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:vue/recommended",
],
parserOptions: {
ecmaVersion: 2018,
parser: "@typescript-eslint/parser",
sourceType: "module",
},
rules: {
"linebreak-style": ["error", "unix"],
semi: ["error", "never"],
quotes: ["error", "double"],
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"require-atomic-updates": 0,
"no-undef": 0,
"vue/require-v-for-key": 0,
"vue/require-default-prop": 0,
"vue/no-v-html": 0,
"vue/max-attributes-per-line": 0,
"vue/html-self-closing": 0,
"vue/html-indent": ["error", 4],
"vue/script-indent": ["error", 4, {
baseIndent: 1,
}],
"@typescript-eslint/indent": 0,
"vue/no-unused-vars": 0,
"vue/multi-word-component-names": 0,
"vue/no-reserved-component-names": 0,
"@typescript-eslint/no-object-literal-type-assertion": 0,
},
}