-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
43 lines (41 loc) · 1.11 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
module.exports = {
env: {
browser: true,
es2021: true,
node: true
},
extends: [
'plugin:vue/essential',
'standard'
],
globals: {
'A': 'readonly' // Aladin script
},
parserOptions: {
ecmaVersion: 12,
sourceType: 'module'
},
plugins: [
'vue'
],
rules: {
'camelcase': 'off',
'eqeqeq': 'off',
'brace-style': 'off',
'quote-props': ['error', 'consistent'],
'vue/require-prop-type-constructor': 'off',
'vue/prop-name-casing': 'off',
'vue/require-default-prop': 'off',
'vue/require-prop-types': 'off',
'vue/order-in-components': 'off',
'vue/multi-word-component-names': 'off',
'no-unused-vars': 'off',
'vue/no-multiple-template-root': 'off',
'new-cap': 'off',
/* Don't automatically fix these when running `eslint --fix`, but keep the warning/error */
// This autofix induced breaking changes when props are named with a mix of camelCase and snake_case,
// such as in SiteCalendar by changing the prop for TheCalendar (fc_timeZone)
// from 'fc_timeZone' to 'fc-time-zone'
'vue/attribute-hyphenation': 'off'
}
}