Skip to content

Commit 852d3f4

Browse files
committed
fix typo
1 parent 7c17f05 commit 852d3f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/textlint-rule-max-comma.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ export default function (context, options = defaultOptions) {
1818
return {
1919
[Syntax.Paragraph](node) {
2020
const paragraphSentence = splitAST(node)
21-
const paragraphSencenceWithoutNode = filter(paragraphSentence, (node) => {
21+
const paragraphSentenceWithoutNode = filter(paragraphSentence, (node) => {
2222
return node.type !== Syntax.Code;
2323
});
2424
// This `sum(0,1,2,3,4,5,6,7,8,9,10)` is ok
2525
// → This is ok
26-
const sentencesWithoutCode = paragraphSencenceWithoutNode
26+
const sentencesWithoutCode = paragraphSentenceWithoutNode
2727
.children
2828
.filter(node => node.type === SentenceSyntax.Sentence);
2929
sentencesWithoutCode.forEach(sentence => {

0 commit comments

Comments
 (0)