[lint] Make eqeqeq a failure

This commit is contained in:
Paul O’Shannessy
2015-10-27 15:39:54 -07:00
parent b0a7a00dba
commit ad00a6e672
2 changed files with 2 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ rules:
dot-location: [2, property]
dot-notation: 2
eol-last: 2
eqeqeq: [2, allow-null]
indent: [2, 2, {SwitchCase: 1}]
jsx-quotes: [2, prefer-double]
no-bitwise: 0

View File

@@ -37,7 +37,7 @@ function compile(content, contentFilename) {
try {
source = fs.readFileSync(filename).toString();
} catch (e) {
if (e.code == 'ENOENT') {
if (e.code === 'ENOENT') {
return undefined;
}
throw e;