-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
68 lines (60 loc) · 1.34 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
module.exports = {
env: {
node: true,
es6: true,
},
extends: [
"eslint:recommended",
"plugin:cypress/recommended",
"plugin:vue/vue3-recommended",
"plugin:prettier-vue/recommended",
"prettier",
"@vue/typescript",
],
plugins: ["prettier", "vue"],
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},
parserOptions: {
ecmaVersion: 2018,
sourceType: "module",
parser: "@typescript-eslint/parser",
},
rules: {
"no-irregular-whitespace": 0,
"vue/no-deprecated-v-on-native-modifier": 0,
"eol-last": "error",
"vue/require-default-prop": 0,
"vue/no-v-html": 0,
"vue/v-on-event-hyphenation": 0,
"vue/multi-word-component-names": 0,
"vue/attribute-hyphenation": 0,
"max-classes-per-file": "off",
"no-useless-constructor": "off",
"no-empty-function": "off",
"@typescript-eslint/no-useless-constructor": "error",
"import/prefer-default-export": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": ["error"],
},
ignorePatterns: [
"contribuer",
"dist",
"IndividuForm.vue",
"node_modules",
"public",
"test/integration",
".tmp",
"tmp",
"*.min.js",
],
overrides: [
{
files: ["**/__tests__/*.{j,t}s?(x)"],
env: {
jest: true,
},
},
],
}