forked from betha-plataforma/estrutura-componentes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
69 lines (69 loc) · 1.87 KB
/
.eslintrc
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
60
61
62
63
64
65
66
67
68
69
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:@stencil/recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint",
"eslint-plugin-import-helpers"
],
"rules": {
"semi": [ "error", "always" ],
"quotes": [ "error", "single" ],
"linebreak-style": [ "error", "unix" ],
"indent": [ "error", 2, { "SwitchCase": 1 } ],
"no-unused-vars": [ "off" ],
"@stencil/async-methods": "error",
"@stencil/ban-prefix": [ "error", [ "stencil", "stnl", "st" ] ],
"@stencil/decorators-context": "error",
"@stencil/decorators-style": [
"error",
{
"prop": "inline",
"state": "inline",
"element": "inline",
"event": "inline",
"method": "multiline",
"watch": "multiline",
"listen": "multiline"
}
],
"@stencil/element-type": "error",
"@stencil/host-data-deprecated": "error",
"@stencil/methods-must-be-public": "error",
"@stencil/no-unused-watch": "error",
"@stencil/own-methods-must-be-private": "error",
"@stencil/own-props-must-be-private": "error",
"@stencil/prefer-vdom-listener": "off",
"@stencil/props-must-be-public": "error",
"@stencil/props-must-be-readonly": "error",
"@stencil/render-returns-host": "error",
"@stencil/required-jsdoc": "error",
"@stencil/single-export": "error",
"@stencil/strict-mutable": "error",
"import-helpers/order-imports": [
"warn",
{
"newlinesBetween": "always",
"groups": [
"module",
"/^@shared/",
[ "parent", "sibling", "index" ]
],
"alphabetize": {
"order": "asc",
"ignoreCase": true
}
}
]
}
}