diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-05-18 15:05:41 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-05-18 15:05:41 -0500 |
commit | 8892e66c4ef2c01c5c4a3c277895aee6f961434d (patch) | |
tree | 85d9ed5f1cf4dfd3d63f2d8f68f7a2bf9ab07d94 /.eslintrc | |
parent | 83f8a91cb51b1f21b864789b88fbf85fd1497709 (diff) | |
download | gitlab-ce-8892e66c4ef2c01c5c4a3c277895aee6f961434d.tar.gz |
update linter to catch uses of commonjs syntax
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc index aba8112c5a9..73cd7ecf66d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -27,6 +27,7 @@ }, "rules": { "filenames/match-regex": [2, "^[a-z0-9_]+$"], + "import/no-commonjs": "error", "no-multiple-empty-lines": ["error", { "max": 1 }], "promise/catch-or-return": "error" } |