@d-zero/textlint-config 5.0.0-dev.92 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +29 -2
- package/package.json +11 -9
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,31 @@
|
|
|
1
1
|
# `@d-zero/textlint-config`
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
## 個別インストール
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm install -D @d-zero/textlint-config
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## 使い方
|
|
10
|
+
|
|
11
|
+
`.textlintrc.js`を作成し、設定を読み込みエクスポートします。
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
module.exports = {
|
|
15
|
+
...require('@d-zero/textlint-config'),
|
|
16
|
+
};
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### 拡張
|
|
20
|
+
|
|
21
|
+
プロジェクトに合わせて設定を追加します。
|
|
22
|
+
|
|
23
|
+
```js
|
|
24
|
+
module.exports = {
|
|
25
|
+
...require('@d-zero/textlint-config'),
|
|
26
|
+
rules: {
|
|
27
|
+
// 例: `no-todo`ルールを無効化
|
|
28
|
+
'no-todo': false,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
```
|
package/package.json
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d-zero/textlint-config",
|
|
3
|
-
"version": "5.0.0
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Configurations of textlint",
|
|
5
|
-
"repository": "https://github.com/d-zero-dev/
|
|
5
|
+
"repository": "https://github.com/d-zero-dev/linters.git",
|
|
6
6
|
"author": "D-ZERO Co., Ltd.",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"private": false,
|
|
9
8
|
"publishConfig": {
|
|
10
9
|
"access": "public"
|
|
11
10
|
},
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=22.0.0"
|
|
13
|
+
},
|
|
12
14
|
"files": [
|
|
13
15
|
"index.js"
|
|
14
16
|
],
|
|
15
17
|
"main": "index.js",
|
|
16
18
|
"dependencies": {
|
|
17
|
-
"textlint": "
|
|
18
|
-
"textlint-plugin-html": "1.0.
|
|
19
|
-
"textlint-rule-preset-ja-spacing": "2.3
|
|
20
|
-
"textlint-rule-preset-japanese": "
|
|
21
|
-
"textlint-rule-preset-jtf-style": "
|
|
19
|
+
"textlint": "15.5.0",
|
|
20
|
+
"textlint-plugin-html": "1.0.1",
|
|
21
|
+
"textlint-rule-preset-ja-spacing": "2.4.3",
|
|
22
|
+
"textlint-rule-preset-japanese": "10.0.4",
|
|
23
|
+
"textlint-rule-preset-jtf-style": "3.0.3"
|
|
22
24
|
},
|
|
23
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "7f635ad8bbb1455d0d362fe00478a2f7bd216924"
|
|
24
26
|
}
|