forked from RasaHQ/rasa-voice-interface
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
59 lines (59 loc) · 1.35 KB
/
.eslintrc.json
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"root": true,
"parserOptions": {
"sourceType": "module",
"parser": "babel-eslint"
},
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jquery": true
},
"extends": ["airbnb/base", "prettier/standard", "plugin:vue/recommended"],
"plugins": ["vue"],
"rules": {
"no-param-reassign": 1,
"import/no-unresolved": 0,
"indent": [
2,
"tab",
{
"SwitchCase": 1
}
],
"no-tabs": 0,
"vue/html-indent": "off",
"vue/html-closing-bracket-spacing": "off",
"vue/html-self-closing": "off",
"vue/singleline-html-element-content-newline": "off",
"vue/multiline-html-element-content-newline": "off",
"vue/max-attributes-per-line": "off",
"vue/attribute-hyphenation": "off",
"vue/order-in-components": "error",
"vue/require-prop-types": "error",
"vue/require-default-prop": "warn",
"vue/v-bind-style": "error",
"vue/attributes-order": "error",
"vue/mustache-interpolation-spacing": "error",
"comma-dangle": 0,
"arrow-parens": ["error", "as-needed"],
"object-curly-newline": 0,
"no-console": 0,
"max-len": [
"warn",
{
"code": 120,
"tabWidth": 4,
"ignoreComments": true,
"ignoreUrls": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true,
"ignorePattern": "(d=)([^<]*|[^>]*)"
}
],
"object-shorthand": 0,
"space-before-function-paren": 0,
"func-names": 0
}
}