-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
32 lines (32 loc) · 823 Bytes
/
.eslintrc
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
// reference: https://prettier.io/docs/en/integrating-with-linters.html
{
"env": {
"browser": true,
"node": true
},
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["vue", "jest", "jest-dom", "testing-library"],
"extends": [
"eslint:recommended",
"plugin:vue/recommended",
"airbnb-base",
"plugin:jest/recommended",
"plugin:testing-library/recommended",
"plugin:testing-library/vue",
"plugin:jest-dom/recommended"
],
"rules": {
"comma-dangle": ["error", "never"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-underscore-dangle": "off",
"no-console": "off",
"no-param-reassign": [2, { "props": false }]
}
}