feat(unicron): prevent-abbreviations

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-19 14:05:05 +04:00
parent 93b869a963
commit 2131004cc8
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 18 additions and 2 deletions

View File

@ -516,7 +516,7 @@
- [ ] "prefer-text-content"
- [ ] "prefer-trim-start-end"
- [ ] "prefer-type-error"
- [ ] "prevent-abbreviations"
- [X] "prevent-abbreviations"
- [ ] "regex-shorthand"
- [ ] "throw-new-error"

View File

@ -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": {}
}
]
}