Skip to content

Commit 480c056

Browse files
committed
fix linting issues
1 parent fa265d7 commit 480c056

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

browser/components/MarkdownEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class MarkdownEditor extends React.Component {
147147
e.preventDefault()
148148
e.stopPropagation()
149149
const idMatch = /checkbox-([0-9]+)/
150-
const checkedMatch = /^\s*[\+\-\*] \[x\]/i
150+
const checkedMatch = /^\s*[\+\-\*] \[x\]/i
151151
const uncheckedMatch = /^\s*[\+\-\*] \[ \]/
152152
if (idMatch.test(e.target.getAttribute('id'))) {
153153
const lineIndex = parseInt(e.target.getAttribute('id').match(idMatch)[1], 10) - 1

tests/lib/get-todo-status-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test('getTodoStatus should return a correct hash object', t => {
2828
['- [x] `- [x] a`\n', { total: 1, completed: 1 }],
2929
['- [X] `- [X] a`\n', { total: 1, completed: 1 }],
3030
[' \t - [X] `- [X] a`\n', { total: 1, completed: 1 }],
31-
[' \t - [X] `- [X] a`\n \t - [ ] `- [X] a`\n', { total: 2, completed: 1 }],
31+
[' \t - [X] `- [X] a`\n \t - [ ] `- [X] a`\n', { total: 2, completed: 1 }]
3232
]
3333

3434
testCases.forEach(testCase => {

0 commit comments

Comments
 (0)