forked from mitre/vulcan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
34 lines (34 loc) · 808 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
module.exports = {
env: {
browser: true,
es6: true
},
extends: ["plugin:vue/recommended", 'prettier', 'plugin:prettier/recommended' ],
rules: {
'max-len': 'off',
'no-console': 'warn',
'no-return-await': 'warn',
'no-throw-literal': 'warn',
'vue/require-default-prop': 'off',
'vue/prop-name-casing': 'off',
'object-curly-spacing': 'off',
'lines-between-class-members': [
'warn',
'always',
{exceptAfterSingleLine: true}
],
'padding-line-between-statements': [
'warn',
{blankLine: 'always', prev: 'function', next: '*'},
{blankLine: 'always', prev: 'import', next: ['class', 'function']}
],
'vue/html-self-closing': [
'warn',
{
html: {
void: 'always'
}
}
]
}
};