forked from johnsusek/praeco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
61 lines (61 loc) · 1.44 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
module.exports = {
root: true,
env: {
node: true,
mocha: true
},
extends: ['plugin:vue/recommended', '@vue/airbnb'],
rules: {
quotes: ['error', 'single'],
'no-underscore-dangle': 'off',
'no-empty': 'off',
radix: 'off',
'no-cond-assign': 'off',
'no-plusplus': 'off',
'default-case': 'off',
'no-labels': 'off',
'no-restricted-syntax': 'off',
'consistent-return': 'off',
'func-names': 'off',
'arrow-parens': 'off',
camelcase: 'off',
'no-console': 'off',
'no-alert': 'off',
'prefer-const': 'off',
'comma-dangle': 'off',
'prefer-destructuring': 'off',
'space-before-function-paren': 'off',
'no-new': 'off',
'max-len': ['error', { ignoreStrings: true, code: 120 }],
'vue/require-v-for-key': 'off',
'vue/require-prop-types': 'off',
'vue/max-attributes-per-line': 'off',
'import/prefer-default-export': 'off',
'import/extensions': [
'off',
'always',
{
js: 'never',
vue: 'never'
}
],
'no-param-reassign': 'off',
'import/no-extraneous-dependencies': [
'error',
{
optionalDependencies: ['test/unit/index.js']
}
],
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/html-closing-bracket-newline': [
'error',
{
singleline: 'never',
multiline: 'never'
}
]
},
parserOptions: {
parser: 'babel-eslint'
}
};