tldr-lint 0.0.16 → 0.0.18
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/lib/tldr-parser.js +1 -1
- package/package.json +11 -8
package/lib/tldr-parser.js
CHANGED
|
@@ -700,7 +700,7 @@ break;
|
|
|
700
700
|
case 7:
|
|
701
701
|
if (this.topState() === "title") {
|
|
702
702
|
yy_.yytext = this.matches[1];
|
|
703
|
-
if (this.matches[1].match(/([^\w+\[
|
|
703
|
+
if (this.matches[1].match(/([^\w+\[\]}!. -])|(\.$)/)) yy.error(yy_.yylloc, 'TLDR013');
|
|
704
704
|
this.checkTrailingWhitespace(this.matches[2], yy_.yylloc);
|
|
705
705
|
this.checkNewline(this.matches[3], yy_.yylloc);
|
|
706
706
|
this.popState();
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tldr-lint",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"description": "A linting tool to validate tldr pages",
|
|
5
|
-
"repository":
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/tldr-pages/tldr-lint.git"
|
|
8
|
+
},
|
|
6
9
|
"scripts": {
|
|
7
10
|
"jison": "jison tldr.yy tldr.l -o lib/tldr-parser.js",
|
|
8
11
|
"lint": "eslint lib specs",
|
|
@@ -37,15 +40,15 @@
|
|
|
37
40
|
},
|
|
38
41
|
"license": "MIT",
|
|
39
42
|
"dependencies": {
|
|
40
|
-
"commander": "^
|
|
43
|
+
"commander": "^14.0.0"
|
|
41
44
|
},
|
|
42
45
|
"devDependencies": {
|
|
43
|
-
"concurrently": "^9.
|
|
44
|
-
"eslint": "^9.
|
|
46
|
+
"concurrently": "^9.1.2",
|
|
47
|
+
"eslint": "^9.17.0",
|
|
45
48
|
"eslint-config-eslint": "^11.0.0",
|
|
46
|
-
"eslint-plugin-jest": "^28.
|
|
47
|
-
"husky": "^9.
|
|
48
|
-
"jest": "^29.
|
|
49
|
+
"eslint-plugin-jest": "^28.10.0",
|
|
50
|
+
"husky": "^9.1.7",
|
|
51
|
+
"jest": "^29.7.0",
|
|
49
52
|
"jison": "^0.4.18",
|
|
50
53
|
"onchange": "^7.1.0"
|
|
51
54
|
},
|