aboutsummaryrefslogtreecommitdiff
path: root/src/rules/typescript
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:52:25 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:52:25 +0300
commit0b14a227166706f94e409f242983427e8cf95b16 (patch)
tree6c61931be86316dfb9266a21daacaf4f03635091 /src/rules/typescript
parentb9cabcb54be92aec1dfc24cc23208fed584eb8cb (diff)
downloadeslint-config-0b14a227166706f94e409f242983427e8cf95b16.tar.xz
eslint-config-0b14a227166706f94e409f242983427e8cf95b16.zip
feat(typescript): explicit-member-accessibility
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/typescript')
-rw-r--r--src/rules/typescript/default.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 64480c8..0941e82 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -17,6 +17,19 @@
"allowTypedFunctionExpressions": false
}
],
+ "@typescript-eslint/explicit-member-accessibility": [
+ "error",
+ {
+ "accessibility": "explicit",
+ "overrides": {
+ "accessors": "explicit",
+ "constructors": "explicit",
+ "methods": "explicit",
+ "parameterProperties": "explicit",
+ "properties": "explicit"
+ }
+ }
+ ],
"@typescript-eslint/indent": [
"error",
"tab",