forked from bootstrap-vue/bootstrap-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
35 lines (35 loc) · 832 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
35
module.exports = {
extends: ['standard', 'plugin:vue/recommended', 'plugin:prettier/recommended'],
plugins: ['jest', 'markdown', 'node', 'promise'],
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module'
},
env: {
browser: true,
es6: true,
'jest/globals': true
},
globals: {
Vue: true
},
rules: {
'vue/html-self-closing': [
'error',
{
html: {
void: 'never',
normal: 'never',
component: 'never'
}
}
],
'vue/max-attributes-per-line': ['error', { singleline: 4 }],
'vue/no-template-shadow': 'off',
'vue/no-use-v-if-with-v-for': 'off',
'vue/no-v-html': 'off',
'vue/require-default-prop': 'off',
'vue/require-prop-types': 'off',
'vue/singleline-html-element-content-newline': 'off'
}
}