File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 38
38
"espower-babel" : " ^4.0.0" ,
39
39
"mocha" : " ^2.3.4" ,
40
40
"power-assert" : " ^1.1.0" ,
41
- "textlint" : " ^5 .0.2 " ,
42
- "textlint-tester" : " ^0.4 .0"
41
+ "textlint" : " ^6 .0.3 " ,
42
+ "textlint-tester" : " ^1.2 .0"
43
43
},
44
44
"dependencies" : {
45
45
"kuromojin" : " ^1.0.2" ,
46
- "sentence-splitter" : " ^1 .0.1 " ,
46
+ "sentence-splitter" : " ^2 .0.0 " ,
47
47
"textlint-rule-helper" : " ^1.1.4" ,
48
48
"textlint-util-to-string" : " ^1.1.0"
49
49
}
Original file line number Diff line number Diff line change 2
2
"use strict" ;
3
3
import { RuleHelper } from "textlint-rule-helper" ;
4
4
import { getTokenizer } from "kuromojin" ;
5
- import splitSentences , { Syntax as SentenceSyntax } from "sentence-splitter" ;
5
+ import { split as splitSentences , Syntax as SentenceSyntax } from "sentence-splitter" ;
6
6
import StringSource from "textlint-util-to-string" ;
7
7
import {
8
8
is助詞Token , is読点Token ,
Original file line number Diff line number Diff line change 1
- import assert from "power-assert" ;
2
1
import rule from "../src/no-doubled-joshi" ;
3
2
import TextLintTester from "textlint-tester" ;
4
- var tester = new TextLintTester ( ) ;
3
+ const tester = new TextLintTester ( ) ;
5
4
/*
6
5
`**`のような装飾は取り除かれてから評価されているので、
7
6
テストでの強調という意味合いのみで利用する。
You can’t perform that action at this time.
0 commit comments