forked from aws-amplify/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
67 lines (67 loc) · 2.07 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
{
"env": {
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@stencil/recommended",
"prettier",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"createDefaultProgram": true,
"ecmaVersion": 2017,
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "@stencil", "prettier"],
"root": true,
"rules": {
"@stencil/async-methods": 2,
"@stencil/ban-prefix": [2, ["stencil", "stnl", "st"]],
"@stencil/ban-side-effects": 0,
"@stencil/decorators-context": 2,
"@stencil/decorators-style": [
2,
{
"element": "inline",
"event": "inline",
"listen": "multiline",
"method": "multiline",
"prop": "inline",
"state": "inline",
"watch": "multiline"
}
],
"@stencil/element-type": 0,
"@stencil/host-data-deprecated": 2,
"@stencil/methods-must-be-public": 2,
"@stencil/no-unused-watch": 2,
"@stencil/own-methods-must-be-private": 0,
"@stencil/own-props-must-be-private": 0,
"@stencil/prefer-vdom-listener": 2,
"@stencil/props-must-be-public": 2,
"@stencil/props-must-be-readonly": 2,
"@stencil/render-returns-host": 2,
"@stencil/required-jsdoc": 2,
"@stencil/reserved-member-names": 2,
"@stencil/single-export": 2,
"@stencil/strict-boolean-conditions": 0,
"@stencil/strict-mutable": 2,
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-for-in-array": 0,
"@typescript-eslint/no-misused-promises": 0,
"@typescript-eslint/no-unnecessary-type-assertion": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-use-before-define": 0,
"arrow-parens": [1, "always"],
"no-console": 1
}
}