Skip to content

Commit 6ecf649

Browse files
author
sunjieming
committed
Fix typo and update linter
1 parent b2be955 commit 6ecf649

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"no-unused-vars": 0,
1919
"no-useless-constructor": 0,
2020
"no-extend-native": 0,
21-
"import/no-unresolved": 0
21+
"import/no-unresolved": 0,
22+
"no-restricted-properties": 0
2223
}
2324
}

src/project-1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const isEven = (num) => {
6666
};
6767

6868
const isOdd = (num) => {
69-
// return true if num is false
69+
// return true if num is odd
7070
// otherwise return false
7171
// code here
7272
};

0 commit comments

Comments
 (0)