diff options
author | winniehell <git@winniehell.de> | 2016-11-02 11:36:44 +0100 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-11-02 11:47:38 +0100 |
commit | 1ad62d9684ce5e04d96caf5094610a7fc2436f60 (patch) | |
tree | 0124a4549a27d07220404d04be40615386af7870 /.eslintrc | |
parent | d733a966e472a2a0377c5758657bba6228a57080 (diff) | |
download | gitlab-ce-1ad62d9684ce5e04d96caf5094610a7fc2436f60.tar.gz |
Check that JavaScript file names match convention (!7238)
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc index 16eb18ecba2..b58007d90a9 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,5 +1,11 @@ { "extends": "airbnb", + "plugins": [ + "filenames" + ], + "rules": { + "filenames/match-regex": [2, "^[a-z_]+$"] + }, "globals": { "$": false, "_": false, |