@anolilab/textlint-config 3.0.1 → 4.0.2

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/CHANGELOG.md CHANGED
@@ -1,99 +1,123 @@
1
- ### @anolilab/textlint-config [3.0.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@3.0.0...@anolilab/textlint-config@3.0.1) (2022-01-15)
1
+ ### @anolilab/textlint-config [4.0.2](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@4.0.1...@anolilab/textlint-config@4.0.2) (2022-05-07)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * **deps:** update dependencies (non-major) ([354adee](https://github.com/anolilab/javascript-style-guide/commit/354adee555f89913a038ab67e3323ec13f51dfc2))
6
+ * **deps:** update dependencies (non-major) ([f21a3a6](https://github.com/anolilab/javascript-style-guide/commit/f21a3a6d7939b24438cf9ce9c018b0cd990bc414))
7
7
 
8
- ## @anolilab/textlint-config [3.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.9...@anolilab/textlint-config@3.0.0) (2021-12-12)
8
+ ### @anolilab/textlint-config [4.0.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@4.0.0...@anolilab/textlint-config@4.0.1) (2022-05-06)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** upgraded deps in all packages ([091353c](https://github.com/anolilab/javascript-style-guide/commit/091353cdd01a0bb3d0e48da9266a6a2978283e2b))
14
+
15
+ ## @anolilab/textlint-config [4.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@3.0.1...@anolilab/textlint-config@4.0.0) (2022-02-15)
9
16
 
10
17
 
11
18
  ### ⚠ BREAKING CHANGES
12
19
 
13
- * moved textlint out of dependencies, to fix a bug with missing bin, no it is a peerDependencies
20
+ * remove old node version from our supported versions
21
+
22
+ Signed-off-by: prisis <d.bannert@anolilab.de>
14
23
 
15
24
  ### Features
16
25
 
17
- * moved textlint out of dependencies ([b5ded20](https://github.com/anolilab/javascript-style-guide/commit/b5ded20d72e4be78ae8bfe40001695d86e0935db))
26
+ * added textlint-rule-date-weekday-mismatch rule ([6809cc5](https://github.com/anolilab/javascript-style-guide/commit/6809cc58812884ec70ab5d98594a5d0b95989cbf))
18
27
 
19
- ### @anolilab/textlint-config [2.0.9](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.8...@anolilab/textlint-config@2.0.9) (2021-12-02)
20
28
 
29
+ ### Bug Fixes
30
+
31
+ * markdown lint ([24059d4](https://github.com/anolilab/javascript-style-guide/commit/24059d41ca682ca21b39ad7f6dff594be734329d))
32
+
33
+
34
+ ### Performance Improvements
35
+
36
+ * support for v12, v14 was removed from our supported versions of node ([83d6a80](https://github.com/anolilab/javascript-style-guide/commit/83d6a8058ed7791135aff03d4cd734327bb1b694))
37
+
38
+ ### @anolilab/textlint-config [3.0.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@3.0.0...@anolilab/textlint-config@3.0.1) (2022-01-15)
21
39
 
22
40
  ### Bug Fixes
23
41
 
24
- * **deps:** update dependency textlint to v12.1.0 ([19b856c](https://github.com/anolilab/javascript-style-guide/commit/19b856c83ce661af9d6a1bb3a584af8ca0465188))
42
+ - **deps:** update dependencies (non-major) ([354adee](https://github.com/anolilab/javascript-style-guide/commit/354adee555f89913a038ab67e3323ec13f51dfc2))
25
43
 
26
- ### @anolilab/textlint-config [2.0.8](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.7...@anolilab/textlint-config@2.0.8) (2021-11-08)
44
+ ## @anolilab/textlint-config [3.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.9...@anolilab/textlint-config@3.0.0) (2021-12-12)
45
+
46
+ ### ⚠ BREAKING CHANGES
27
47
 
48
+ - moved textlint out of dependencies, to fix a bug with missing bin, no it is a peerDependencies
49
+
50
+ ### Features
51
+
52
+ - moved textlint out of dependencies ([b5ded20](https://github.com/anolilab/javascript-style-guide/commit/b5ded20d72e4be78ae8bfe40001695d86e0935db))
53
+
54
+ ### @anolilab/textlint-config [2.0.9](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.8...@anolilab/textlint-config@2.0.9) (2021-12-02)
28
55
 
29
56
  ### Bug Fixes
30
57
 
31
- * **deps:** update dependency textlint-rule-no-dead-link to v4.8.0 ([1de655e](https://github.com/anolilab/javascript-style-guide/commit/1de655e00a3f952163c346ae8d032be2e1cf5a20))
58
+ - **deps:** update dependency textlint to v12.1.0 ([19b856c](https://github.com/anolilab/javascript-style-guide/commit/19b856c83ce661af9d6a1bb3a584af8ca0465188))
32
59
 
33
- ### @anolilab/textlint-config [2.0.7](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.6...@anolilab/textlint-config@2.0.7) (2021-09-02)
60
+ ### @anolilab/textlint-config [2.0.8](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.7...@anolilab/textlint-config@2.0.8) (2021-11-08)
34
61
 
62
+ ### Bug Fixes
63
+
64
+ - **deps:** update dependency textlint-rule-no-dead-link to v4.8.0 ([1de655e](https://github.com/anolilab/javascript-style-guide/commit/1de655e00a3f952163c346ae8d032be2e1cf5a20))
65
+
66
+ ### @anolilab/textlint-config [2.0.7](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.6...@anolilab/textlint-config@2.0.7) (2021-09-02)
35
67
 
36
68
  ### Bug Fixes
37
69
 
38
- * added funding to the package ([f90d18f](https://github.com/anolilab/javascript-style-guide/commit/f90d18f8347a4bdc395b1740c85ac74a4072297c))
70
+ - added funding to the package ([f90d18f](https://github.com/anolilab/javascript-style-guide/commit/f90d18f8347a4bdc395b1740c85ac74a4072297c))
39
71
 
40
72
  ### @anolilab/textlint-config [2.0.6](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.5...@anolilab/textlint-config@2.0.6) (2021-09-02)
41
73
 
42
-
43
74
  ### Bug Fixes
44
75
 
45
- * fixed release flow in all packages ([8c5ec13](https://github.com/anolilab/javascript-style-guide/commit/8c5ec1341e11ccf48d8d3e8f8808fb162d062d97))
76
+ - fixed release flow in all packages ([8c5ec13](https://github.com/anolilab/javascript-style-guide/commit/8c5ec1341e11ccf48d8d3e8f8808fb162d062d97))
46
77
 
47
78
  ### @anolilab/textlint-config [2.0.5](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.4...@anolilab/textlint-config@2.0.5) (2021-07-21)
48
79
 
49
-
50
80
  ### Bug Fixes
51
81
 
52
- * **deps:** upgraded dependencies ([fa697d0](https://github.com/anolilab/javascript-style-guide/commit/fa697d09930c04b9c2ef2612b8940dba36a452c5))
82
+ - **deps:** upgraded dependencies ([fa697d0](https://github.com/anolilab/javascript-style-guide/commit/fa697d09930c04b9c2ef2612b8940dba36a452c5))
53
83
 
54
84
  ### @anolilab/textlint-config [2.0.4](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.3...@anolilab/textlint-config@2.0.4) (2021-06-09)
55
85
 
56
-
57
86
  ### Bug Fixes
58
87
 
59
- * **deps:** update dependency textlint to v12 ([3e988b6](https://github.com/anolilab/javascript-style-guide/commit/3e988b65e03bd40f4b46e58b0bf247f250d02157))
60
- * **deps:** update dependency textlint-rule-write-good to v2 ([5b0521b](https://github.com/anolilab/javascript-style-guide/commit/5b0521bf2ce14a7cb7b8a76022ae637577a036a5))
88
+ - **deps:** update dependency textlint to v12 ([3e988b6](https://github.com/anolilab/javascript-style-guide/commit/3e988b65e03bd40f4b46e58b0bf247f250d02157))
89
+ - **deps:** update dependency textlint-rule-write-good to v2 ([5b0521b](https://github.com/anolilab/javascript-style-guide/commit/5b0521bf2ce14a7cb7b8a76022ae637577a036a5))
61
90
 
62
91
  ### @anolilab/textlint-config [2.0.3](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.2...@anolilab/textlint-config@2.0.3) (2021-05-04)
63
92
 
64
-
65
93
  ### Bug Fixes
66
94
 
67
- * removed index.cjs from text-lint ([e5ab6d6](https://github.com/anolilab/javascript-style-guide/commit/e5ab6d6a9214b288646d471e19afff163ac5cf57))
95
+ - removed index.cjs from text-lint ([e5ab6d6](https://github.com/anolilab/javascript-style-guide/commit/e5ab6d6a9214b288646d471e19afff163ac5cf57))
68
96
 
69
97
  ### @anolilab/textlint-config [2.0.2](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.1...@anolilab/textlint-config@2.0.2) (2021-05-04)
70
98
 
71
-
72
99
  ### Bug Fixes
73
100
 
74
- * **deps:** update dependency @textlint-rule/textlint-rule-no-invalid-control-character to v2 ([b2935fa](https://github.com/anolilab/javascript-style-guide/commit/b2935fad068cdaa02300926ec9403b6435948377))
101
+ - **deps:** update dependency @textlint-rule/textlint-rule-no-invalid-control-character to v2 ([b2935fa](https://github.com/anolilab/javascript-style-guide/commit/b2935fad068cdaa02300926ec9403b6435948377))
75
102
 
76
103
  ### @anolilab/textlint-config [2.0.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@2.0.0...@anolilab/textlint-config@2.0.1) (2021-04-20)
77
104
 
78
-
79
105
  ### Bug Fixes
80
106
 
81
- * added missing exit code to process.exit ([a94e9ed](https://github.com/anolilab/javascript-style-guide/commit/a94e9edfae21dbf9219c1c709d5aba95f9910d68))
107
+ - added missing exit code to process.exit ([a94e9ed](https://github.com/anolilab/javascript-style-guide/commit/a94e9edfae21dbf9219c1c709d5aba95f9910d68))
82
108
 
83
109
  ## @anolilab/textlint-config [2.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@1.0.1...@anolilab/textlint-config@2.0.0) (2021-04-19)
84
110
 
85
-
86
111
  ### ⚠ BREAKING CHANGES
87
112
 
88
- * upgraded node version to v12 and es modules
113
+ - upgraded node version to v12 and es modules
89
114
 
90
115
  ### Features
91
116
 
92
- * added more tests ([0535ce4](https://github.com/anolilab/javascript-style-guide/commit/0535ce477766e80286e7f6aecf10bae33b5be594))
117
+ - added more tests ([0535ce4](https://github.com/anolilab/javascript-style-guide/commit/0535ce477766e80286e7f6aecf10bae33b5be594))
93
118
 
94
119
  ### @anolilab/textlint-config [1.0.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/textlint-config@1.0.0...@anolilab/textlint-config@1.0.1) (2021-02-15)
95
120
 
96
-
97
121
  ### Bug Fixes
98
122
 
99
- * removed wrong keyword ([5f001fa](https://github.com/anolilab/javascript-style-guide/commit/5f001fae7f0d3902b2ac88342dc86b7835983d08))
123
+ - removed wrong keyword ([5f001fa](https://github.com/anolilab/javascript-style-guide/commit/5f001fae7f0d3902b2ac88342dc86b7835983d08))
package/README.md CHANGED
@@ -177,23 +177,20 @@ If you already have a `.textlintrc`, then you can extend the `.textlintrc`, with
177
177
  ## Supported Node.js Versions
178
178
 
179
179
  Libraries in this ecosystem make the best effort to track
180
- [Node.js' release schedule](https://nodejs.org/en/about/releases/). Here's [a
180
+ [Node.js release schedule](https://nodejs.org/en/about/releases/). Heres [a
181
181
  post on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).
182
182
 
183
- Contributing
184
- ------------
183
+ ## Contributing
185
184
 
186
185
  If you would like to help take a look at the [list of issues](https://github.com/anolilab/javascript-style-guide/issues) and check our [Contributing](.github/CONTRIBUTING.md) guild.
187
186
 
188
187
  > **Note:** please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
189
188
 
190
- Credits
191
- -------------
189
+ ## Credits
192
190
 
193
- - [Daniel Bannert](https://github.com/prisis)
194
- - [All Contributors](https://github.com/anolilab/javascript-style-guide/graphs/contributors)
191
+ - [Daniel Bannert](https://github.com/prisis)
192
+ - [All Contributors](https://github.com/anolilab/javascript-style-guide/graphs/contributors)
195
193
 
196
- License
197
- -------------
194
+ ## License
198
195
 
199
196
  The anolilab javascript-style-guide is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT)
@@ -4,16 +4,16 @@ if (process.env.CI) {
4
4
  process.exit(0);
5
5
  }
6
6
 
7
- import { writeFile, existsSync } from 'fs';
8
- import { resolve, join } from 'path';
9
- import { promisify } from 'util';
7
+ import { writeFile, existsSync } from "fs";
8
+ import { resolve, join } from "path";
9
+ import { promisify } from "util";
10
10
 
11
11
  const writeFileAsync = promisify(writeFile);
12
12
 
13
13
  // get the path to the host project.
14
- const projectPath = resolve(process.cwd(), '..', '..', '..');
14
+ const projectPath = resolve(process.cwd(), "..", "..", "..");
15
15
 
16
- console.log('Configuring @anolilab/textlint-config', projectPath, '\n');
16
+ console.log("Configuring @anolilab/textlint-config", projectPath, "\n");
17
17
 
18
18
  /**
19
19
  * Writes .textlintrc if it doesn't exist. Warns if it exists.
@@ -25,40 +25,37 @@ const writeTextlintRc = () => {
25
25
  "comments": true
26
26
  },
27
27
  "rules": {
28
- "en-capitalization": true,
29
- "footnote-order": true,
30
- "no-todo": true,
31
- "no-dead-link": {
32
- "ignore": [
33
- "bc_data_*",
34
- ]
35
- },
36
- "no-empty-section": true,
37
- "terminology": true,
38
- "apostrophe": true,
39
- "diacritics": true,
40
28
  "@textlint-rule/no-invalid-control-character": true,
41
29
  "@textlint-rule/no-unmatched-pair": true,
30
+ "@textlint-rule/preset-google": true,
42
31
  "abbr-within-parentheses": true,
32
+ "apostrophe": true,
43
33
  "alex": {
44
34
  "allow": [
45
- "period",
35
+ "attack",
46
36
  "european",
37
+ "execute"
38
+ "executed",
39
+ "execution",
47
40
  "failure",
48
41
  "fore",
49
- "attack",
50
- "execution",
51
- "executed",
42
+ "period",
52
43
  "remain",
53
- "execute"
54
44
  ]
55
45
  },
56
- "@textlint-rule/preset-google": true,
57
- "write-good": {
58
- "passive": false,
59
- "eprime": false,
60
- },
61
46
  "common-misspellings": true,
47
+ "date-weekday-mismatch": true
48
+ "diacritics": true,
49
+ "en-capitalization": true,
50
+ "footnote-order": true,
51
+ "no-dead-link": {
52
+ "ignore": [
53
+ "bc_data_*",
54
+ ]
55
+ },
56
+ "no-empty-section": true,
57
+ "no-todo": true,
58
+ "terminology": true,
62
59
  "terminology": {
63
60
  "defaultTerms": false,
64
61
  "terms": [
@@ -162,6 +159,10 @@ const writeTextlintRc = () => {
162
159
  ["it is", "it's"],
163
160
  ["It is", "It's"],
164
161
  ]
162
+ },
163
+ "write-good": {
164
+ "passive": false,
165
+ "eprime": false,
165
166
  }
166
167
  }
167
168
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/textlint-config",
3
- "version": "3.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "Anolilab Coding Standard for text linting.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -49,6 +49,7 @@
49
49
  "textlint-rule-alex": "3.0.0",
50
50
  "textlint-rule-apostrophe": "2.0.0",
51
51
  "textlint-rule-common-misspellings": "1.0.1",
52
+ "textlint-rule-date-weekday-mismatch": "^1.0.6",
52
53
  "textlint-rule-diacritics": "1.0.0",
53
54
  "textlint-rule-en-capitalization": "2.0.3",
54
55
  "textlint-rule-footnote-order": "1.0.3",
@@ -56,18 +57,18 @@
56
57
  "textlint-rule-no-dead-link": "4.8.0",
57
58
  "textlint-rule-no-empty-section": "1.1.0",
58
59
  "textlint-rule-no-todo": "2.0.1",
59
- "textlint-rule-terminology": "2.1.5",
60
+ "textlint-rule-terminology": "2.1.6",
60
61
  "textlint-rule-write-good": "2.0.0",
61
62
  "write-good": "1.0.8"
62
63
  },
63
64
  "devDependencies": {
64
- "textlint": "^12.1.0"
65
+ "textlint": "^12.1.1"
65
66
  },
66
67
  "peerDependencies": {
67
- "textlint": "^12.1.0"
68
+ "textlint": "^12.1.1"
68
69
  },
69
70
  "engines": {
70
- "node": ">=12"
71
+ "node": ">=16"
71
72
  },
72
73
  "publishConfig": {
73
74
  "access": "public"