summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/typescript/default.json13
2 files changed, 14 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 592974c..2d23211 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -395,7 +395,7 @@
- [ ] "consistent-type-definitions"
- [ ] "default-param-last"
- [X] "explicit-function-return-type"
-- [ ] "explicit-member-accessibility"
+- [X] "explicit-member-accessibility"
- [ ] "explicit-module-boundary-types"
- [ ] "func-call-spacing"
- [ ] "generic-type-naming"
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",