forked from morkro/vue-a11y-dialog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
40 lines (39 loc) · 884 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
36
37
38
39
40
// https://eslint.org/docs/user-guide/configuring
module.exports = {
env: {
jest: true
},
extends: [
'plugin:vue/strongly-recommended',
'standard'
],
// required to lint *.vue files
plugins: [
'vue'
],
// custom rules
rules: {
'vue/script-indent': 'off',
'vue/html-indent': 'off',
'vue/require-default-prop': 'off',
'vue/max-attributes-per-line': [2, {
'singleline': 3,
'multiline': {
'max': 1,
'allowFirstLine': true
}
}],
'vue/component-name-in-template-casing': ['error', 'kebab-case', {
'ignores': []
}],
'vue/html-closing-bracket-newline': ['error', {
'singleline': 'never',
'multiline': 'never'
}],
'indent': 'off',
// allow paren-less arrow functions
'arrow-parens': 'off',
// allow async-await
'generator-star-spacing': 'off',
}
}