From 8892e66c4ef2c01c5c4a3c277895aee6f961434d Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Thu, 18 May 2017 15:05:41 -0500 Subject: [PATCH] update linter to catch uses of commonjs syntax --- .eslintrc | 1 + 1 file changed, 1 insertion(+) 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" }