From 2131004cc8caa193e7f2503c0513a32c9fae14ff Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:05:05 +0400 Subject: feat(unicron): prevent-abbreviations Signed-off-by: Valentin Popov --- src/rules/unicorn/default.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'src/rules') diff --git a/src/rules/unicorn/default.json b/src/rules/unicorn/default.json index 0967ef4..a6568f7 100644 --- a/src/rules/unicorn/default.json +++ b/src/rules/unicorn/default.json @@ -1 +1,17 @@ -{} +{ + "unicorn/prevent-abbreviations": [ + "error", + { + "checkDefaultAndNamespaceImports": "internal", + "checkFilenames": true, + "checkProperties": true, + "checkShorthandImports": "internal", + "checkShorthandProperties": true, + "checkVariables": true, + "extendDefaultReplacements": true, + "extendDefaultWhitelist": true, + "replacements": {}, + "whitelist": {} + } + ] +} -- cgit v1.2.3