forked from bootstrap-vue/bootstrap-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
45 lines (45 loc) · 1.08 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
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: {
'no-unused-vars': [
'error',
{
vars: 'all',
args: 'after-used',
ignoreRestSiblings: false
}
],
'object-shorthand': ['error', 'properties'],
'spaced-comment': 'off', // needed to ignore `/*#__PURE__*/` comments
'vue/custom-event-name-casing': 'off',
'vue/html-self-closing': [
'error',
{
html: {
void: 'never',
normal: 'never',
component: 'never'
}
}
],
'vue/max-attributes-per-line': ['error', { singleline: 4 }],
'vue/no-v-html': 'off',
'vue/one-component-per-file': 'off',
'vue/require-default-prop': 'off',
'vue/require-prop-types': 'off',
'vue/singleline-html-element-content-newline': 'off'
}
}