-
Notifications
You must be signed in to change notification settings - Fork 111
/
.eslintrc.js
43 lines (37 loc) · 887 Bytes
/
.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
/* eslint-disable */
module.exports = {
// "env": [
// 'plugin:vue/vue3-essential',
// 'eslint:recommended',
// '@vue/typescript'
// ],
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended",
'@vue/typescript'
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"rules": {
"quotes": ["warn", "double"],
"indent": ["error", 4],
// "semi": ["warn", "always"],
"comma-dangle": ["warn", "never"],
"eol-last": ["warn", "always"],
},
"ignorePatterns": [
"node_modules/**/*",
"src/**/*",
"mona_wasm/**/*",
"loaders/**/*",
"sub/**/*",
// "**/*"
],
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 2020,
sourceType: 'module'
}
};