diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/unicorn/default.json | 18 |
2 files changed, 18 insertions, 2 deletions
@@ -516,7 +516,7 @@ - [ ] "prefer-text-content" - [ ] "prefer-trim-start-end" - [ ] "prefer-type-error" -- [ ] "prevent-abbreviations" +- [X] "prevent-abbreviations" - [ ] "regex-shorthand" - [ ] "throw-new-error" 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": {} + } + ] +} |