summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-05-18 15:05:41 -0500
committerMike Greiling <mike@pixelcog.com>2017-05-18 15:05:41 -0500
commit8892e66c4ef2c01c5c4a3c277895aee6f961434d (patch)
tree85d9ed5f1cf4dfd3d63f2d8f68f7a2bf9ab07d94 /.eslintrc
parent83f8a91cb51b1f21b864789b88fbf85fd1497709 (diff)
downloadgitlab-ce-8892e66c4ef2c01c5c4a3c277895aee6f961434d.tar.gz
update linter to catch uses of commonjs syntax
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc1
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"
}