forked from johnsusek/praeco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
66 lines (66 loc) · 1.57 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
62
63
64
65
66
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': 'off',
'vue/require-v-for-key': 'off',
'vue/require-prop-types': 'off',
'vue/max-attributes-per-line': 'off',
'import/prefer-default-export': 'off',
'vue/no-template-shadow': 'off',
'no-unused-vars': 'off',
'import/no-cycle': 'off',
'vue/return-in-computed-property': 'off',
'vue/no-unused-vars': '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'
}
};