File tree 19 files changed +67
-48
lines changed
textlint-rule-ja-nakaguro-or-halfwidth-space-between-katakana
textlint-rule-ja-no-space-around-parentheses
textlint-rule-ja-no-space-between-full-width
textlint-rule-ja-space-after-exclamation
textlint-rule-ja-space-after-question
textlint-rule-ja-space-around-code
textlint-rule-ja-space-between-half-and-full-width
textlint-rule-preset-ja-spacing
19 files changed +67
-48
lines changed Original file line number Diff line number Diff line change
1
+ name : test
2
+ on : [push, pull_request]
3
+ env :
4
+ CI : true
5
+ jobs :
6
+ test :
7
+ name : " Test on Node.js ${{ matrix.node_version }}"
8
+ runs-on : ubuntu-18.04
9
+ strategy :
10
+ matrix :
11
+ node_version : [10, 12]
12
+ steps :
13
+ - name : checkout
14
+ uses : actions/checkout@v2
15
+ - name : setup Node ${{ matrix.node_version }}
16
+ uses : actions/setup-node@v1
17
+ with :
18
+ node_version : ${{ matrix.node_version }}
19
+ - name : Install
20
+ run : yarn install
21
+ - name : Test
22
+ run : yarn test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # textlint-rule-spacing [ ![ Build Status] ( https://travis-ci.org /textlint-ja/textlint-rule-spacing.svg?branch=master )] ( https://travis-ci.org /textlint-ja/textlint-rule-spacing )
1
+ # textlint-rule-preset-ja- spacing [ ![ Actions Status] ( https://github.com /textlint-ja/textlint-rule-preset-ja- spacing/workflows/test/badge .svg )] ( https://github.com /textlint-ja/textlint-rule-preset-ja- spacing/actions?query=workflow%3A"test" )
2
2
3
3
[ textlint] ( https://textlint.github.io/ ) のスペース関連のmonorepoです。
4
4
@@ -90,7 +90,7 @@ textlint --preset preset-ja-spacing README.md
90
90
}
91
91
```
92
92
93
- またデフォルトでは、[ textlint-rule-ja-space-around-code] ( https://github.com/textlint-ja/textlint-rule-spacing/tree/master/packages/textlint-rule-ja-space-around-code ) は無効になっています。
93
+ またデフォルトでは、[ textlint-rule-ja-space-around-code] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/tree/master/packages/textlint-rule-ja-space-around-code ) は無効になっています。
94
94
95
95
次のように設定することで、プリセットに含まれるすべてのルールを有効にできます。
96
96
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ textlint --rule ja-nakaguro-or-halfwidth-space-between-katakana README.md
33
33
34
34
## Changelog
35
35
36
- See [ Releases page] ( https://github.com/textlint-ja/textlint-rule-spacing/releases ) .
36
+ See [ Releases page] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/releases ) .
37
37
38
38
## Running tests
39
39
@@ -45,7 +45,7 @@ Install devDependencies and Run `npm test`:
45
45
46
46
Pull requests and stars are always welcome.
47
47
48
- For bugs and feature requests, [ please create an issue] ( https://github.com/textlint-ja/textlint-rule-spacing/issues ) .
48
+ For bugs and feature requests, [ please create an issue] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/issues ) .
49
49
50
50
1 . Fork it!
51
51
2 . Create your feature branch: ` git checkout -b my-new-feature `
Original file line number Diff line number Diff line change 9
9
],
10
10
"repository" : {
11
11
"type" : " git" ,
12
- "url" : " git+https://github.com/textlint-ja/textlint-rule-spacing.git"
12
+ "url" : " git+https://github.com/textlint-ja/textlint-rule-preset-ja- spacing.git"
13
13
},
14
14
"author" : " azu" ,
15
15
16
- "homepage" : " https://github.com/textlint-ja/textlint-rule-spacing" ,
16
+ "homepage" : " https://github.com/textlint-ja/textlint-rule-preset-ja- spacing" ,
17
17
"license" : " MIT" ,
18
18
"bugs" : {
19
- "url" : " https://github.com/textlint-ja/textlint-rule-spacing/issues"
19
+ "url" : " https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/issues"
20
20
},
21
21
"scripts" : {
22
22
"build" : " NODE_ENV=production babel src --out-dir lib --source-maps" ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ textlint --rule ja-no-space-around-parentheses README.md
43
43
44
44
## Changelog
45
45
46
- See [ Releases page] ( https://github.com/extlint-ja/textlint-rule-spacing/releases ) .
46
+ See [ Releases page] ( https://github.com/extlint-ja/textlint-rule-preset-ja- spacing/releases ) .
47
47
48
48
## Running tests
49
49
@@ -55,7 +55,7 @@ Install devDependencies and Run `npm test`:
55
55
56
56
Pull requests and stars are always welcome.
57
57
58
- For bugs and feature requests, [ please create an issue] ( https://github.com/extlint-ja/textlint-rule-spacing/issues ) .
58
+ For bugs and feature requests, [ please create an issue] ( https://github.com/extlint-ja/textlint-rule-preset-ja- spacing/issues ) .
59
59
60
60
1 . Fork it!
61
61
2 . Create your feature branch: ` git checkout -b my-new-feature `
Original file line number Diff line number Diff line change 9
9
],
10
10
"repository" : {
11
11
"type" : " git" ,
12
- "url" : " git+https://github.com/textlint-ja/textlint-rule-spacing.git"
12
+ "url" : " git+https://github.com/textlint-ja/textlint-rule-preset-ja- spacing.git"
13
13
},
14
14
"author" : " azu" ,
15
15
16
- "homepage" : " https://github.com/extlint-ja/textlint-rule-spacing" ,
16
+ "homepage" : " https://github.com/extlint-ja/textlint-rule-preset-ja- spacing" ,
17
17
"license" : " MIT" ,
18
18
"bugs" : {
19
- "url" : " https://github.com/extlint-ja/textlint-rule-spacing/issues"
19
+ "url" : " https://github.com/extlint-ja/textlint-rule-preset-ja- spacing/issues"
20
20
},
21
21
"scripts" : {
22
22
"build" : " NODE_ENV=production babel src --out-dir lib --source-maps" ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ textlint --rule ja-no-space-between-full-width README.md
40
40
41
41
## Changelog
42
42
43
- See [ Releases page] ( https://github.com/textlint-ja/textlint-rule-spacing/releases ) .
43
+ See [ Releases page] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/releases ) .
44
44
45
45
## Running tests
46
46
@@ -52,7 +52,7 @@ Install devDependencies and Run `npm test`:
52
52
53
53
Pull requests and stars are always welcome.
54
54
55
- For bugs and feature requests, [ please create an issue] ( https://github.com/textlint-ja/textlint-rule-spacing/issues ) .
55
+ For bugs and feature requests, [ please create an issue] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/issues ) .
56
56
57
57
1 . Fork it!
58
58
2 . Create your feature branch: ` git checkout -b my-new-feature `
Original file line number Diff line number Diff line change 9
9
],
10
10
"repository" : {
11
11
"type" : " git" ,
12
- "url" : " git+https://github.com/textlint-ja/textlint-rule-spacing.git"
12
+ "url" : " git+https://github.com/textlint-ja/textlint-rule-preset-ja- spacing.git"
13
13
},
14
14
"author" : " azu" ,
15
15
16
- "homepage" : " https://github.com/textlint-ja/textlint-rule-spacing" ,
16
+ "homepage" : " https://github.com/textlint-ja/textlint-rule-preset-ja- spacing" ,
17
17
"license" : " MIT" ,
18
18
"bugs" : {
19
- "url" : " https://github.com/textlint-ja/textlint-rule-spacing/issues"
19
+ "url" : " https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/issues"
20
20
},
21
21
"scripts" : {
22
22
"build" : " NODE_ENV=production babel src --out-dir lib --source-maps" ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ textlint --rule ja-space-after-exclamation README.md
40
40
41
41
## Changelog
42
42
43
- See [ Releases page] ( https://github.com/extlint-ja/textlint-rule-spacing/releases ) .
43
+ See [ Releases page] ( https://github.com/extlint-ja/textlint-rule-preset-ja- spacing/releases ) .
44
44
45
45
## Running tests
46
46
@@ -52,7 +52,7 @@ Install devDependencies and Run `npm test`:
52
52
53
53
Pull requests and stars are always welcome.
54
54
55
- For bugs and feature requests, [ please create an issue] ( https://github.com/extlint-ja/textlint-rule-spacing/issues ) .
55
+ For bugs and feature requests, [ please create an issue] ( https://github.com/extlint-ja/textlint-rule-preset-ja- spacing/issues ) .
56
56
57
57
1 . Fork it!
58
58
2 . Create your feature branch: ` git checkout -b my-new-feature `
Original file line number Diff line number Diff line change 9
9
],
10
10
"repository" : {
11
11
"type" : " git" ,
12
- "url" : " git+https://github.com/textlint-ja/textlint-rule-spacing.git"
12
+ "url" : " git+https://github.com/textlint-ja/textlint-rule-preset-ja- spacing.git"
13
13
},
14
14
"author" : " azu" ,
15
15
16
- "homepage" : " https://github.com/extlint-ja/textlint-rule-spacing" ,
16
+ "homepage" : " https://github.com/extlint-ja/textlint-rule-preset-ja- spacing" ,
17
17
"license" : " MIT" ,
18
18
"bugs" : {
19
- "url" : " https://github.com/extlint-ja/textlint-rule-spacing/issues"
19
+ "url" : " https://github.com/extlint-ja/textlint-rule-preset-ja- spacing/issues"
20
20
},
21
21
"scripts" : {
22
22
"build" : " NODE_ENV=production babel src --out-dir lib --source-maps" ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ textlint --rule ja-space-after-question README.md
43
43
44
44
## Changelog
45
45
46
- See [ Releases page] ( https://github.com/extlint-ja/textlint-rule-spacing/releases ) .
46
+ See [ Releases page] ( https://github.com/extlint-ja/textlint-rule-preset-ja- spacing/releases ) .
47
47
48
48
## Running tests
49
49
@@ -55,7 +55,7 @@ Install devDependencies and Run `npm test`:
55
55
56
56
Pull requests and stars are always welcome.
57
57
58
- For bugs and feature requests, [ please create an issue] ( https://github.com/extlint-ja/textlint-rule-spacing/issues ) .
58
+ For bugs and feature requests, [ please create an issue] ( https://github.com/extlint-ja/textlint-rule-preset-ja- spacing/issues ) .
59
59
60
60
1 . Fork it!
61
61
2 . Create your feature branch: ` git checkout -b my-new-feature `
Original file line number Diff line number Diff line change 9
9
],
10
10
"repository" : {
11
11
"type" : " git" ,
12
- "url" : " git+https://github.com/textlint-ja/textlint-rule-spacing.git"
12
+ "url" : " git+https://github.com/textlint-ja/textlint-rule-preset-ja- spacing.git"
13
13
},
14
14
"author" : " azu" ,
15
15
16
- "homepage" : " https://github.com/extlint-ja/textlint-rule-spacing" ,
16
+ "homepage" : " https://github.com/extlint-ja/textlint-rule-preset-ja- spacing" ,
17
17
"license" : " MIT" ,
18
18
"bugs" : {
19
- "url" : " https://github.com/extlint-ja/textlint-rule-spacing/issues"
19
+ "url" : " https://github.com/extlint-ja/textlint-rule-preset-ja- spacing/issues"
20
20
},
21
21
"scripts" : {
22
22
"build" : " NODE_ENV=production babel src --out-dir lib --source-maps" ,
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ textlint --rule ja-space-around-code README.md
65
65
66
66
## Changelog
67
67
68
- See [ Releases page] ( https://github.com/textlint-ja/textlint-rule-spacing/releases ) .
68
+ See [ Releases page] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/releases ) .
69
69
70
70
## Running tests
71
71
@@ -77,7 +77,7 @@ Install devDependencies and Run `npm test`:
77
77
78
78
Pull requests and stars are always welcome.
79
79
80
- For bugs and feature requests, [ please create an issue] ( https://github.com/textlint-ja/textlint-rule-spacing/issues ) .
80
+ For bugs and feature requests, [ please create an issue] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/issues ) .
81
81
82
82
1 . Fork it!
83
83
2 . Create your feature branch: ` git checkout -b my-new-feature `
Original file line number Diff line number Diff line change 9
9
],
10
10
"repository" : {
11
11
"type" : " git" ,
12
- "url" : " git+https://github.com/textlint-ja/textlint-rule-spacing.git"
12
+ "url" : " git+https://github.com/textlint-ja/textlint-rule-preset-ja- spacing.git"
13
13
},
14
14
"author" : " azu" ,
15
15
16
- "homepage" : " https://github.com/textlint-ja/textlint-rule-spacing" ,
16
+ "homepage" : " https://github.com/textlint-ja/textlint-rule-preset-ja- spacing" ,
17
17
"license" : " MIT" ,
18
18
"bugs" : {
19
- "url" : " https://github.com/textlint-ja/textlint-rule-spacing/issues"
19
+ "url" : " https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/issues"
20
20
},
21
21
"scripts" : {
22
22
"build" : " NODE_ENV=production babel src --out-dir lib --source-maps" ,
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ textlint --rule ja-space-between-half-and-full-width README.md
80
80
81
81
## Changelog
82
82
83
- See [ Releases page] ( https://github.com/textlint-ja/textlint-rule-spacing/releases ) .
83
+ See [ Releases page] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/releases ) .
84
84
85
85
## Running tests
86
86
@@ -92,7 +92,7 @@ Install devDependencies and Run `npm test`:
92
92
93
93
Pull requests and stars are always welcome.
94
94
95
- For bugs and feature requests, [ please create an issue] ( https://github.com/textlint-ja/textlint-rule-spacing/issues ) .
95
+ For bugs and feature requests, [ please create an issue] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/issues ) .
96
96
97
97
1 . Fork it!
98
98
2 . Create your feature branch: ` git checkout -b my-new-feature `
Original file line number Diff line number Diff line change 9
9
],
10
10
"repository" : {
11
11
"type" : " git" ,
12
- "url" : " git+https://github.com/textlint-ja/textlint-rule-spacing.git"
12
+ "url" : " git+https://github.com/textlint-ja/textlint-rule-preset-ja- spacing.git"
13
13
},
14
14
"author" : " azu" ,
15
15
16
- "homepage" : " https://github.com/textlint-ja/textlint-rule-spacing" ,
16
+ "homepage" : " https://github.com/textlint-ja/textlint-rule-preset-ja- spacing" ,
17
17
"license" : " MIT" ,
18
18
"bugs" : {
19
- "url" : " https://github.com/textlint-ja/textlint-rule-spacing/issues"
19
+ "url" : " https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/issues"
20
20
},
21
21
"scripts" : {
22
22
"build" : " NODE_ENV=production babel src --out-dir lib --source-maps" ,
Original file line number Diff line number Diff line change 5
5
6
6
含まれているルールに関しては以下を参照してください。
7
7
8
- - [ textlint-ja/textlint-rule-spacing: スペース周りのスタイルを扱うtextlintルール集] ( https://github.com/textlint-ja/textlint-rule-spacing " textlint-ja/textlint-rule-spacing: スペース周りのスタイルを扱うtextlintルール集 ")
8
+ - [ textlint-ja/textlint-rule-preset-ja- spacing: スペース周りのスタイルを扱うtextlintルール集] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing " textlint-ja/textlint-rule-preset-ja -spacing: スペース周りのスタイルを扱うtextlintルール集 ")
9
9
10
10
それぞれのルールは個別のモジュールであるため、必要なルールのみをインストールすることも可能です。
11
11
@@ -36,7 +36,7 @@ textlint --preset ja-spacing README.md
36
36
37
37
## Options
38
38
39
- デフォルトでは、[ textlint-rule-ja-space-around-code] ( https://github.com/textlint-ja/textlint-rule-spacing/tree/master/packages/textlint-rule-ja-space-around-code ) は無効になっています。
39
+ デフォルトでは、[ textlint-rule-ja-space-around-code] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/tree/master/packages/textlint-rule-ja-space-around-code ) は無効になっています。
40
40
41
41
次のように設定することで、プリセットに含まれるすべてのルールを有効にできます。
42
42
@@ -55,7 +55,7 @@ textlint --preset ja-spacing README.md
55
55
56
56
## Changelog
57
57
58
- See [ Releases page] ( https://github.com/textlint-ja/textlint-rule-spacing/releases ) .
58
+ See [ Releases page] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/releases ) .
59
59
60
60
## Running tests
61
61
@@ -67,7 +67,7 @@ Install devDependencies and Run `npm test`:
67
67
68
68
Pull requests and stars are always welcome.
69
69
70
- For bugs and feature requests, [ please create an issue] ( https://github.com/textlint-ja/textlint-rule-spacing/issues ) .
70
+ For bugs and feature requests, [ please create an issue] ( https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/issues ) .
71
71
72
72
1 . Fork it!
73
73
2 . Create your feature branch: ` git checkout -b my-new-feature `
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " textlint-rule-preset-ja-spacing" ,
3
3
"version" : " 2.0.1" ,
4
- "description" : " textlint-rule-spacingのルールプリセット" ,
4
+ "description" : " textlint-rule-preset-ja- spacingのルールプリセット" ,
5
5
"main" : " lib/index.js" ,
6
6
"files" : [
7
7
" src/" ,
8
8
" lib/"
9
9
],
10
10
"repository" : {
11
11
"type" : " git" ,
12
- "url" : " git+https://github.com/textlint-ja/textlint-rule-spacing.git"
12
+ "url" : " git+https://github.com/textlint-ja/textlint-rule-preset-ja- spacing.git"
13
13
},
14
14
"author" : " azu" ,
15
15
16
- "homepage" : " https://github.com/textlint-ja/textlint-rule-spacing" ,
16
+ "homepage" : " https://github.com/textlint-ja/textlint-rule-preset-ja- spacing" ,
17
17
"license" : " MIT" ,
18
18
"bugs" : {
19
- "url" : " https://github.com/textlint-ja/textlint-rule-spacing/issues"
19
+ "url" : " https://github.com/textlint-ja/textlint-rule-preset-ja- spacing/issues"
20
20
},
21
21
"scripts" : {
22
22
"build" : " NODE_ENV=production babel src --out-dir lib --source-maps" ,
You can’t perform that action at this time.
0 commit comments