File tree 3 files changed +37
-2
lines changed
3 files changed +37
-2
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
language : node_js
3
3
node_js : " stable"
4
+ after_success :
5
+ - npm run travis:coverage
4
6
cache :
5
7
directories :
6
8
- node_modules
Original file line number Diff line number Diff line change
1
+ {
2
+ "rules": {
3
+ "max-ten": {
4
+ "max": 3
5
+ },
6
+ "no-double-negative-ja": true,
7
+ "no-doubled-joshi": {
8
+ "min_interval": 1,
9
+ "strict": true
10
+ },
11
+ "sentence-length": {
12
+ "max": 100
13
+ },
14
+ "no-start-duplicated-conjunction": {
15
+ "interval": 3
16
+ },
17
+ "spellcheck-tech-word": true,
18
+ "no-mix-dearu-desumasu": true,
19
+ "prh": {
20
+ "rulePaths": [
21
+ "test/prh.yml"
22
+ ]
23
+ },
24
+ "preset-jtf-style": {
25
+ "2.1.2.漢字": true,
26
+ "4.2.2.疑問符(?)": false,
27
+ "4.3.1.丸かっこ()": false
28
+ }
29
+ }
30
+ }
Original file line number Diff line number Diff line change 26
26
"textlint" : " summary-to-path | xargs textlint -f pretty-error" ,
27
27
"test:example" : " find ./src -name '*-example.js' | xargs babel-node" ,
28
28
"test:js" : " mocha" ,
29
- "test" : " npm-run-all --parallel test:js test:example textlint eslint:md eslint build"
29
+ "test" : " npm-run-all --parallel test:js test:example textlint eslint:md eslint build" ,
30
+ "travis:coverage" : " summary-to-path | xargs textlint -c coverage.textlintrc -f codecov | codecov"
30
31
},
31
32
"keywords" : [
32
33
" ebook" ,
36
37
"devDependencies" : {
37
38
"babel-cli" : " ^6.3.13" ,
38
39
"babel-preset-es2015" : " ^6.3.13" ,
40
+ "codecov.io" : " ^0.1.6" ,
39
41
"connect" : " ^3.4.0" ,
40
42
"eslint" : " ^1.3.0" ,
41
43
"eslint-plugin-markdown" : " git://github.com/eslint/eslint-plugin-markdown.git" ,
56
58
"npm-run-all" : " ^1.2.8" ,
57
59
"power-assert" : " ^1.0.0" ,
58
60
"stemming-x-keywords" : " ^1.0.3" ,
59
- "textlint" : " ^5.0.0-beta.0" ,
61
+ "textlint" : " ^5.2.0" ,
62
+ "textlint-formatter-codecov" : " ^1.0.2" ,
60
63
"textlint-rule-max-ten" : " ^2.0.0" ,
61
64
"textlint-rule-no-double-negative-ja" : " ^1.0.2" ,
62
65
"textlint-rule-no-doubled-joshi" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments