diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-19 13:05:05 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-19 13:05:05 +0300 |
commit | 2131004cc8caa193e7f2503c0513a32c9fae14ff (patch) | |
tree | dea272d0df4f6de2b342a640dc4409c24d681d70 /src/rules | |
parent | 93b869a9634cdde43a2a643cd441ce87b04a68d9 (diff) | |
download | eslint-config-2131004cc8caa193e7f2503c0513a32c9fae14ff.tar.xz eslint-config-2131004cc8caa193e7f2503c0513a32c9fae14ff.zip |
feat(unicron): prevent-abbreviations
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r-- | src/rules/unicorn/default.json | 18 |
1 files changed, 17 insertions, 1 deletions
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": {} + } + ] +} |