update linter to catch uses of commonjs syntax
This commit is contained in:
parent
83f8a91cb5
commit
8892e66c4e
|
@ -27,6 +27,7 @@
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
|
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
|
||||||
|
"import/no-commonjs": "error",
|
||||||
"no-multiple-empty-lines": ["error", { "max": 1 }],
|
"no-multiple-empty-lines": ["error", { "max": 1 }],
|
||||||
"promise/catch-or-return": "error"
|
"promise/catch-or-return": "error"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue