diff options
| author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-11-03 16:15:10 -0500 |
|---|---|---|
| committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-11-03 16:15:10 -0500 |
| commit | 18dd4cf54b19d3320a417928903354bfb625cfdd (patch) | |
| tree | 8e4bbf7c0913534410cb1384119da6d920e3c22b | |
| parent | 055e2ac293d7c79450dcd398a36d7f2382989822 (diff) | |
| download | gitlab-ce-fix-invalid-filename-eslint.tar.gz | |
Update match-regex to fix filename conventionfix-invalid-filename-eslint
This allows us to pass .js.es6 files as valid filenames;
| -rw-r--r-- | .eslintrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc index b58007d90a9..fd26215b843 100644 --- a/.eslintrc +++ b/.eslintrc @@ -4,7 +4,7 @@ "filenames" ], "rules": { - "filenames/match-regex": [2, "^[a-z_]+$"] + "filenames/match-regex": [2, "^[a-z0-9_]+(.js)?$"] }, "globals": { "$": false, |
