@anolilab/textlint-config 3.0.0 → 4.0.1

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,92 +1,116 @@
1
- ## @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)
1
+ ### @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)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** upgraded deps in all packages ([091353c](https://github.com/anolilab/javascript-style-guide/commit/091353cdd01a0bb3d0e48da9266a6a2978283e2b))
7
+
8
+ ## @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)
2
9
 
3
10
 
4
11
  ### ⚠ BREAKING CHANGES
5
12
 
6
- * moved textlint out of dependencies, to fix a bug with missing bin, no it is a peerDependencies
13
+ * remove old node version from our supported versions
14
+
15
+ Signed-off-by: prisis <d.bannert@anolilab.de>
7
16
 
8
17
  ### Features
9
18
 
10
- * moved textlint out of dependencies ([b5ded20](https://github.com/anolilab/javascript-style-guide/commit/b5ded20d72e4be78ae8bfe40001695d86e0935db))
19
+ * added textlint-rule-date-weekday-mismatch rule ([6809cc5](https://github.com/anolilab/javascript-style-guide/commit/6809cc58812884ec70ab5d98594a5d0b95989cbf))
11
20
 
12
- ### @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)
13
21
 
22
+ ### Bug Fixes
23
+
24
+ * markdown lint ([24059d4](https://github.com/anolilab/javascript-style-guide/commit/24059d41ca682ca21b39ad7f6dff594be734329d))
25
+
26
+
27
+ ### Performance Improvements
28
+
29
+ * support for v12, v14 was removed from our supported versions of node ([83d6a80](https://github.com/anolilab/javascript-style-guide/commit/83d6a8058ed7791135aff03d4cd734327bb1b694))
30
+
31
+ ### @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)
14
32
 
15
33
  ### Bug Fixes
16
34
 
17
- * **deps:** update dependency textlint to v12.1.0 ([19b856c](https://github.com/anolilab/javascript-style-guide/commit/19b856c83ce661af9d6a1bb3a584af8ca0465188))
35
+ - **deps:** update dependencies (non-major) ([354adee](https://github.com/anolilab/javascript-style-guide/commit/354adee555f89913a038ab67e3323ec13f51dfc2))
18
36
 
19
- ### @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)
37
+ ## @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)
38
+
39
+ ### ⚠ BREAKING CHANGES
20
40
 
41
+ - moved textlint out of dependencies, to fix a bug with missing bin, no it is a peerDependencies
42
+
43
+ ### Features
44
+
45
+ - moved textlint out of dependencies ([b5ded20](https://github.com/anolilab/javascript-style-guide/commit/b5ded20d72e4be78ae8bfe40001695d86e0935db))
46
+
47
+ ### @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)
21
48
 
22
49
  ### Bug Fixes
23
50
 
24
- * **deps:** update dependency textlint-rule-no-dead-link to v4.8.0 ([1de655e](https://github.com/anolilab/javascript-style-guide/commit/1de655e00a3f952163c346ae8d032be2e1cf5a20))
51
+ - **deps:** update dependency textlint to v12.1.0 ([19b856c](https://github.com/anolilab/javascript-style-guide/commit/19b856c83ce661af9d6a1bb3a584af8ca0465188))
25
52
 
26
- ### @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)
53
+ ### @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)
54
+
55
+ ### Bug Fixes
56
+
57
+ - **deps:** update dependency textlint-rule-no-dead-link to v4.8.0 ([1de655e](https://github.com/anolilab/javascript-style-guide/commit/1de655e00a3f952163c346ae8d032be2e1cf5a20))
27
58
 
59
+ ### @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)
28
60
 
29
61
  ### Bug Fixes
30
62
 
31
- * added funding to the package ([f90d18f](https://github.com/anolilab/javascript-style-guide/commit/f90d18f8347a4bdc395b1740c85ac74a4072297c))
63
+ - added funding to the package ([f90d18f](https://github.com/anolilab/javascript-style-guide/commit/f90d18f8347a4bdc395b1740c85ac74a4072297c))
32
64
 
33
65
  ### @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)
34
66
 
35
-
36
67
  ### Bug Fixes
37
68
 
38
- * fixed release flow in all packages ([8c5ec13](https://github.com/anolilab/javascript-style-guide/commit/8c5ec1341e11ccf48d8d3e8f8808fb162d062d97))
69
+ - fixed release flow in all packages ([8c5ec13](https://github.com/anolilab/javascript-style-guide/commit/8c5ec1341e11ccf48d8d3e8f8808fb162d062d97))
39
70
 
40
71
  ### @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)
41
72
 
42
-
43
73
  ### Bug Fixes
44
74
 
45
- * **deps:** upgraded dependencies ([fa697d0](https://github.com/anolilab/javascript-style-guide/commit/fa697d09930c04b9c2ef2612b8940dba36a452c5))
75
+ - **deps:** upgraded dependencies ([fa697d0](https://github.com/anolilab/javascript-style-guide/commit/fa697d09930c04b9c2ef2612b8940dba36a452c5))
46
76
 
47
77
  ### @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)
48
78
 
49
-
50
79
  ### Bug Fixes
51
80
 
52
- * **deps:** update dependency textlint to v12 ([3e988b6](https://github.com/anolilab/javascript-style-guide/commit/3e988b65e03bd40f4b46e58b0bf247f250d02157))
53
- * **deps:** update dependency textlint-rule-write-good to v2 ([5b0521b](https://github.com/anolilab/javascript-style-guide/commit/5b0521bf2ce14a7cb7b8a76022ae637577a036a5))
81
+ - **deps:** update dependency textlint to v12 ([3e988b6](https://github.com/anolilab/javascript-style-guide/commit/3e988b65e03bd40f4b46e58b0bf247f250d02157))
82
+ - **deps:** update dependency textlint-rule-write-good to v2 ([5b0521b](https://github.com/anolilab/javascript-style-guide/commit/5b0521bf2ce14a7cb7b8a76022ae637577a036a5))
54
83
 
55
84
  ### @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)
56
85
 
57
-
58
86
  ### Bug Fixes
59
87
 
60
- * removed index.js from text-lint ([e5ab6d6](https://github.com/anolilab/javascript-style-guide/commit/e5ab6d6a9214b288646d471e19afff163ac5cf57))
88
+ - removed index.cjs from text-lint ([e5ab6d6](https://github.com/anolilab/javascript-style-guide/commit/e5ab6d6a9214b288646d471e19afff163ac5cf57))
61
89
 
62
90
  ### @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)
63
91
 
64
-
65
92
  ### Bug Fixes
66
93
 
67
- * **deps:** update dependency @textlint-rule/textlint-rule-no-invalid-control-character to v2 ([b2935fa](https://github.com/anolilab/javascript-style-guide/commit/b2935fad068cdaa02300926ec9403b6435948377))
94
+ - **deps:** update dependency @textlint-rule/textlint-rule-no-invalid-control-character to v2 ([b2935fa](https://github.com/anolilab/javascript-style-guide/commit/b2935fad068cdaa02300926ec9403b6435948377))
68
95
 
69
96
  ### @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)
70
97
 
71
-
72
98
  ### Bug Fixes
73
99
 
74
- * added missing exit code to process.exit ([a94e9ed](https://github.com/anolilab/javascript-style-guide/commit/a94e9edfae21dbf9219c1c709d5aba95f9910d68))
100
+ - added missing exit code to process.exit ([a94e9ed](https://github.com/anolilab/javascript-style-guide/commit/a94e9edfae21dbf9219c1c709d5aba95f9910d68))
75
101
 
76
102
  ## @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)
77
103
 
78
-
79
104
  ### ⚠ BREAKING CHANGES
80
105
 
81
- * upgraded node version to v12 and es modules
106
+ - upgraded node version to v12 and es modules
82
107
 
83
108
  ### Features
84
109
 
85
- * added more tests ([0535ce4](https://github.com/anolilab/javascript-style-guide/commit/0535ce477766e80286e7f6aecf10bae33b5be594))
110
+ - added more tests ([0535ce4](https://github.com/anolilab/javascript-style-guide/commit/0535ce477766e80286e7f6aecf10bae33b5be594))
86
111
 
87
112
  ### @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)
88
113
 
89
-
90
114
  ### Bug Fixes
91
115
 
92
- * removed wrong keyword ([5f001fa](https://github.com/anolilab/javascript-style-guide/commit/5f001fae7f0d3902b2ac88342dc86b7835983d08))
116
+ - 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.0",
3
+ "version": "4.0.1",
4
4
  "description": "Anolilab Coding Standard for text linting.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -49,10 +49,11 @@
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",
55
- "textlint-rule-helper": "2.2.0",
56
+ "textlint-rule-helper": "2.2.1",
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",
@@ -61,13 +62,13 @@
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"