From a5ebb6d98c74402ee5bfcc5c31333a073fb9b3f1 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Tue, 14 Apr 2020 06:03:47 -0700 Subject: [PATCH] Add member access eslint rule --- .eslintrc.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.eslintrc.json b/.eslintrc.json index 5d5061d5..41767bed 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -45,6 +45,15 @@ "allowExpressions": true } ], + "@typescript-eslint/explicit-member-accessibility": [ + "error", + { + "accessibility": "explicit", + "overrides": { + "constructors": "off" + } + } + ], "@typescript-eslint/indent": [ "error", 2