Skip to content

Commit

Permalink
[lint] Make eqeqeq a failure
Browse files Browse the repository at this point in the history
  • Loading branch information
zpao committed Oct 27, 2015
1 parent b0a7a00 commit ad00a6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/jest/ts-preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ad00a6e

Please sign in to comment.