File tree Expand file tree Collapse file tree 8 files changed +144
-8
lines changed
textlint-rule-ja-no-space-between-half-and-full-width
textlint-rule-ja-space-around-code Expand file tree Collapse file tree 8 files changed +144
-8
lines changed Original file line number Diff line number Diff line change
1
+ # textlint-rule-ja-no-space-between-half-and-full-width
2
+
3
+ 半角文字と全角文字のスペースについてのtextlintルール
4
+
5
+ ## Install
6
+
7
+ Install with [ npm] ( https://www.npmjs.com/ ) :
8
+
9
+ npm install textlint-rule-ja-no-space-between-half-and-full-width
10
+
11
+ ## Usage
12
+
13
+ Via ` .textlintrc ` (Recommended)
14
+
15
+ ``` json
16
+ {
17
+ "rules" : {
18
+ "ja-no-space-between-half-and-full-width" : true
19
+ }
20
+ }
21
+ ```
22
+
23
+ Via CLI
24
+
25
+ ```
26
+ textlint --rule ja-no-space-between-half-and-full-width README.md
27
+ ```
28
+
29
+
30
+ ## Changelog
31
+
32
+ See [ Releases page] ( https://github.com/extlint-ja/textlint-rule-spacing/releases ) .
33
+
34
+ ## Running tests
35
+
36
+ Install devDependencies and Run ` npm test ` :
37
+
38
+ npm i -d && npm test
39
+
40
+ ## Contributing
41
+
42
+ Pull requests and stars are always welcome.
43
+
44
+ For bugs and feature requests, [ please create an issue] ( https://github.com/extlint-ja/textlint-rule-spacing/issues ) .
45
+
46
+ 1 . Fork it!
47
+ 2 . Create your feature branch: ` git checkout -b my-new-feature `
48
+ 3 . Commit your changes: ` git commit -am 'Add some feature' `
49
+ 4 . Push to the branch: ` git push origin my-new-feature `
50
+ 5 . Submit a pull request : D
51
+
52
+ ## Author
53
+
54
+ - [ github/azu] ( https://github.com/azu )
55
+ - [ twitter/azu_re] ( https://twitter.com/azu_re )
56
+
57
+ ## License
58
+
59
+ MIT © azu
Original file line number Diff line number Diff line change 2
2
"name" : " textlint-rule-ja-no-space-between-half-and-full-width" ,
3
3
"version" : " 1.0.0" ,
4
4
"description" : " 半角文字と全角文字のスペースについてのtextlintルール" ,
5
- "main" : " index.js" ,
5
+ "main" : " lib/index.js" ,
6
+ "repository" : {
7
+ "type" : " git" ,
8
+ "url" : " git+https://github.com/textlint-ja/textlint-rule-spacing.git"
9
+ },
10
+ "author" : " azu" ,
11
+
12
+ "homepage" : " https://github.com/extlint-ja/textlint-rule-spacing" ,
13
+ "license" : " MIT" ,
14
+ "bugs" : {
15
+ "url" : " https://github.com/extlint-ja/textlint-rule-spacing/issues"
16
+ },
6
17
"scripts" : {
7
18
"build" : " NODE_ENV=production babel src --out-dir lib --source-maps" ,
8
19
"watch" : " babel src --out-dir lib --watch --source-maps" ,
12
23
"keywords" : [
13
24
" textlint"
14
25
],
15
- "author" : " azu" ,
16
- "license" : " MIT" ,
17
26
"devDependencies" : {
18
27
"babel-cli" : " ^6.0.0" ,
19
28
"babel-preset-es2015" : " ^6.0.0" ,
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
// LICENSE : MIT
2
2
"use strict" ;
3
3
import TextLintTester from "textlint-tester" ;
4
- import rule from "../src/textlint-rule-ja-no-space-between-half-and-full-width " ;
4
+ import rule from "../src/index " ;
5
5
var tester = new TextLintTester ( ) ;
6
6
tester . run ( "全角文字と半角文字の間" , rule , {
7
7
valid : [
Original file line number Diff line number Diff line change
1
+ # textlint-rule-ja-space-around-code
2
+
3
+ インラインコードの周りをスペースで囲むかどうかを決めるtextlintルール
4
+
5
+ ## Install
6
+
7
+ Install with [ npm] ( https://www.npmjs.com/ ) :
8
+
9
+ npm install textlint-rule-ja-space-around-code
10
+
11
+ ## Usage
12
+
13
+ Via ` .textlintrc ` (Recommended)
14
+
15
+ ``` json
16
+ {
17
+ "rules" : {
18
+ "ja-space-around-code" : true
19
+ }
20
+ }
21
+ ```
22
+
23
+ Via CLI
24
+
25
+ ```
26
+ textlint --rule ja-space-around-code README.md
27
+ ```
28
+
29
+
30
+ ## Changelog
31
+
32
+ See [ Releases page] ( https://github.com/extlint-ja/textlint-rule-spacing/releases ) .
33
+
34
+ ## Running tests
35
+
36
+ Install devDependencies and Run ` npm test ` :
37
+
38
+ npm i -d && npm test
39
+
40
+ ## Contributing
41
+
42
+ Pull requests and stars are always welcome.
43
+
44
+ For bugs and feature requests, [ please create an issue] ( https://github.com/extlint-ja/textlint-rule-spacing/issues ) .
45
+
46
+ 1 . Fork it!
47
+ 2 . Create your feature branch: ` git checkout -b my-new-feature `
48
+ 3 . Commit your changes: ` git commit -am 'Add some feature' `
49
+ 4 . Push to the branch: ` git push origin my-new-feature `
50
+ 5 . Submit a pull request : D
51
+
52
+ ## Author
53
+
54
+ - [ github/azu] ( https://github.com/azu )
55
+ - [ twitter/azu_re] ( https://twitter.com/azu_re )
56
+
57
+ ## License
58
+
59
+ MIT © azu
Original file line number Diff line number Diff line change 2
2
"name" : " textlint-rule-ja-space-around-code" ,
3
3
"version" : " 1.0.0" ,
4
4
"description" : " インラインコードの周りをスペースで囲むかどうかを決めるtextlintルール" ,
5
- "main" : " index.js" ,
5
+ "main" : " lib/index.js" ,
6
+ "repository" : {
7
+ "type" : " git" ,
8
+ "url" : " git+https://github.com/textlint-ja/textlint-rule-spacing.git"
9
+ },
10
+ "author" : " azu" ,
11
+
12
+ "homepage" : " https://github.com/extlint-ja/textlint-rule-spacing" ,
13
+ "license" : " MIT" ,
14
+ "bugs" : {
15
+ "url" : " https://github.com/extlint-ja/textlint-rule-spacing/issues"
16
+ },
6
17
"scripts" : {
7
18
"build" : " NODE_ENV=production babel src --out-dir lib --source-maps" ,
8
19
"watch" : " babel src --out-dir lib --watch --source-maps" ,
12
23
"keywords" : [
13
24
" textlint"
14
25
],
15
- "author" : " azu" ,
16
- "license" : " MIT" ,
17
26
"devDependencies" : {
18
27
"babel-cli" : " ^6.0.0" ,
19
28
"babel-preset-es2015" : " ^6.0.0" ,
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
// LICENSE : MIT
2
2
"use strict" ;
3
3
import TextLintTester from "textlint-tester" ;
4
- import rule from "../src/textlint-rule-ja-space-around-code " ;
4
+ import rule from "../src/index " ;
5
5
var tester = new TextLintTester ( ) ;
6
6
tester . run ( "InlineCode周りのスペース" , rule , {
7
7
valid : [
You can’t perform that action at this time.
0 commit comments