@d-zero/textlint-config 5.0.0-dev.93 → 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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +29 -2
  3. package/package.json +11 -9
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 D-ZERO Co., Ltd.
3
+ Copyright (c) 2024 D-ZERO Co., Ltd.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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-dev.93+c6646f2",
3
+ "version": "5.0.0",
4
4
  "description": "Configurations of textlint",
5
- "repository": "https://github.com/d-zero-dev/node-dev-env.git",
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": "13.4.1",
18
- "textlint-plugin-html": "1.0.0",
19
- "textlint-rule-preset-ja-spacing": "2.3.0",
20
- "textlint-rule-preset-japanese": "9.0.0",
21
- "textlint-rule-preset-jtf-style": "2.3.13"
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": "c6646f2425c257367f106e5e2cee276c42aef9d5"
25
+ "gitHead": "7f635ad8bbb1455d0d362fe00478a2f7bd216924"
24
26
  }