-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
38 lines (38 loc) · 964 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
// https://qiita.com/howdy39/items/6e2c75861bc5a14b2acf
// https://qiita.com/fukasawah/items/03fa205353ac03b06b7e
module.exports = {
root: true,
env: {
browser: true,
node: true,
es6: true,
jquery: true,
},
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
dashjs: false,
Cookies: false,
PIXI: false,
location: false,
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'@vue/typescript/recommended',
'@vue/eslint-config-prettier',
],
parserOptions: {
ecmaVersion: 2018,
},
plugins: [
],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
"vue/experimental-script-setup-vars": "off",
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-empty-function': 'off',
},
};