-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.eslintrc.js
28 lines (28 loc) · 897 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
module.exports = {
root: true,
env: {
node: true,
},
extends: ['plugin:vue/essential', '@vue/airbnb', '@vue/typescript'],
rules: {
indent: ['error', 4],
semi: ['error', 'never'],
'no-tabs': 'off',
'function-paren-newline': 'off',
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-return-assign': 'off',
'no-nested-ternary': 'off',
'consistent-return': 'off',
'class-methods-use-this': 'off',
camelcase: 'off',
'import/no-extraneous-dependencies': 'off',
'no-unused-expressions': 'off',
'no-underscore-dangle': 'off',
'arrow-parens': 'off',
'comma-dangle': 'off',
},
parserOptions: {
parser: 'typescript-eslint-parser',
},
}