diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-19 13:07:31 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-19 13:07:31 +0300 |
commit | f8b812927adb46c3b3f79c815e58b54e39dfaa72 (patch) | |
tree | 3a8b6a6cb64ca7636ebb366220094a097bca39e3 | |
parent | 2131004cc8caa193e7f2503c0513a32c9fae14ff (diff) | |
download | eslint-config-f8b812927adb46c3b3f79c815e58b54e39dfaa72.tar.xz eslint-config-f8b812927adb46c3b3f79c815e58b54e39dfaa72.zip |
feat(unicorn): filename-case
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/unicorn/default.json | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -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", { |