From 0b14a227166706f94e409f242983427e8cf95b16 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:52:25 +0400 Subject: feat(typescript): explicit-member-accessibility Signed-off-by: Valentin Popov --- src/rules/typescript/default.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/rules') 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", -- cgit v1.2.3