feat(typescript): explicit-member-accessibility
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
b9cabcb54b
commit
0b14a22716
@ -395,7 +395,7 @@
|
|||||||
- [ ] "consistent-type-definitions"
|
- [ ] "consistent-type-definitions"
|
||||||
- [ ] "default-param-last"
|
- [ ] "default-param-last"
|
||||||
- [X] "explicit-function-return-type"
|
- [X] "explicit-function-return-type"
|
||||||
- [ ] "explicit-member-accessibility"
|
- [X] "explicit-member-accessibility"
|
||||||
- [ ] "explicit-module-boundary-types"
|
- [ ] "explicit-module-boundary-types"
|
||||||
- [ ] "func-call-spacing"
|
- [ ] "func-call-spacing"
|
||||||
- [ ] "generic-type-naming"
|
- [ ] "generic-type-naming"
|
||||||
|
@ -17,6 +17,19 @@
|
|||||||
"allowTypedFunctionExpressions": false
|
"allowTypedFunctionExpressions": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/explicit-member-accessibility": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"accessibility": "explicit",
|
||||||
|
"overrides": {
|
||||||
|
"accessors": "explicit",
|
||||||
|
"constructors": "explicit",
|
||||||
|
"methods": "explicit",
|
||||||
|
"parameterProperties": "explicit",
|
||||||
|
"properties": "explicit"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"@typescript-eslint/indent": [
|
"@typescript-eslint/indent": [
|
||||||
"error",
|
"error",
|
||||||
"tab",
|
"tab",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user