feat(unicorn): filename-case
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
2131004cc8
commit
f8b812927a
@ -479,7 +479,7 @@
|
|||||||
- [ ] "escape-case"
|
- [ ] "escape-case"
|
||||||
- [ ] "expiring-todo-comments"
|
- [ ] "expiring-todo-comments"
|
||||||
- [ ] "explicit-length-check"
|
- [ ] "explicit-length-check"
|
||||||
- [ ] "filename-case"
|
- [X] "filename-case"
|
||||||
- [ ] "import-index"
|
- [ ] "import-index"
|
||||||
- [ ] "new-for-builtins"
|
- [ ] "new-for-builtins"
|
||||||
- [ ] "no-abusive-eslint-disable"
|
- [ ] "no-abusive-eslint-disable"
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
{
|
{
|
||||||
|
"unicorn/filename-case": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"kebabCase": true,
|
||||||
|
"pascalCase": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"unicorn/prevent-abbreviations": [
|
"unicorn/prevent-abbreviations": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user