update linter to catch uses of commonjs syntax

This commit is contained in:
Mike Greiling 2017-05-18 15:05:41 -05:00
parent 83f8a91cb5
commit 8892e66c4e
1 changed files with 1 additions and 0 deletions

View File

@ -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"
}