From f8b812927adb46c3b3f79c815e58b54e39dfaa72 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:07:31 +0400 Subject: feat(unicorn): filename-case Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/unicorn/default.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index f0328f3..cd7f62c 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -479,7 +479,7 @@ - [ ] "escape-case" - [ ] "expiring-todo-comments" - [ ] "explicit-length-check" -- [ ] "filename-case" +- [X] "filename-case" - [ ] "import-index" - [ ] "new-for-builtins" - [ ] "no-abusive-eslint-disable" diff --git a/src/rules/unicorn/default.json b/src/rules/unicorn/default.json index a6568f7..2530a4a 100644 --- a/src/rules/unicorn/default.json +++ b/src/rules/unicorn/default.json @@ -1,4 +1,11 @@ { + "unicorn/filename-case": [ + "error", + { + "kebabCase": true, + "pascalCase": true + } + ], "unicorn/prevent-abbreviations": [ "error", { -- cgit v1.2.3