-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
47 lines (47 loc) · 1.54 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
44
45
46
47
module.exports = {
parserOptions: {
project: './tsconfig.json',
tsconfigRootDir: './'
},
extends: ["plugin:@stencil/recommended"],
rules: {
'@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': 'error',
'@stencil/props-must-be-public': 'error',
'@stencil/props-must-be-readonly': 'error',
'@stencil/render-returns-host': 'error',
'@stencil/required-jsdoc': 'error',
'@stencil/reserved-member-names': 'error',
'@stencil/single-export': 'error',
'@stencil/strict-mutable': 'error',
'no-extra-boolean-cast': 'error',
'no-param-reassign': 'error',
'@stencil/strict-boolean-conditions': 'off',
'react/jsx-no-bind': 'off',
'sort-imports': ['error', {
ignoreCase: false,
ignoreDeclarationSort: false,
ignoreMemberSort: false,
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
allowSeparatedGroups: true
}],
'react/jsx-no-bind': false
}
};