-
Notifications
You must be signed in to change notification settings - Fork 54
/
.eslintrc.js
38 lines (38 loc) · 1017 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
module.exports = {
root: true,
env: {
browser: true,
node: true,
},
extends: [
'eslint:recommended',
'plugin:vue/vue3-recommended',
'@vue/airbnb',
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-nested-ternary': 0,
'vue/component-tags-order': 0,
'vue/no-template-shadow': 0,
'no-restricted-exports': 0,
'vue/multi-word-component-names': 0,
'vue/max-attributes-per-line': 0,
'import/no-unresolved': 0,
'import/no-named-as-default': 0,
'no-unused-expressions': 0,
'id-length': 0,
'no-script-url': 0,
'import/no-extraneous-dependencies': 0,
'no-underscore-dangle': 0,
'global-require': 0,
'import/newline-after-import': 0,
'import/extensions': 0,
'prefer-template': 0,
'max-len': 0,
'function-paren-newline': 0,
'react/no-typos': 0,
'arrow-parens': 0,
'linebreak-style': 0
},
};