aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:07:31 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:07:31 +0300
commitf8b812927adb46c3b3f79c815e58b54e39dfaa72 (patch)
tree3a8b6a6cb64ca7636ebb366220094a097bca39e3 /src
parent2131004cc8caa193e7f2503c0513a32c9fae14ff (diff)
downloadeslint-config-f8b812927adb46c3b3f79c815e58b54e39dfaa72.tar.xz
eslint-config-f8b812927adb46c3b3f79c815e58b54e39dfaa72.zip
feat(unicorn): filename-case
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/unicorn/default.json7
1 files changed, 7 insertions, 0 deletions
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",
{