-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
31 lines (31 loc) · 1.01 KB
/
.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
module.exports = {
root: true,
env: {
node: true,
jquery: true,
},
extends: ['plugin:vue/essential', '@vue/airbnb', '@vue/prettier'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'object-curly-newline': 'off',
'vue/attribute-hyphenation': ['error', 'always'],
// 'vue/html-end-tags': 'error',
// 'vue/html-indent': ['error', 4],
// indent: ['error', 4],
'vue/require-default-prop': 'error',
'vue/require-prop-types': 'error',
'vue/order-in-components': 'error',
'newline-per-chained-call': 'off',
'import/prefer-default-export': 'off',
'max-len': 'off',
'no-param-reassign': 'off',
'no-bitwise': 'off',
'no-underscore-dangle': 'off',
'no-plusplus': 'off',
'no-nested-ternary': 'off',
},
parserOptions: {
parser: 'babel-eslint',
},
};