tldr-lint 0.0.12 → 0.0.13

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.
@@ -725,7 +725,8 @@ case 8:
725
725
  if (this.topState() === 'description') {
726
726
  this.popState();
727
727
  yy_.yytext = this.matches[1];
728
- if (yy_.yytext.match(/^[a-z]/)) {
728
+ var exceptions = ['npm', 'pnpm'];
729
+ if (!exceptions.includes(yy_.yytext.replace(/ .*/,'')) && yy_.yytext.match(/^[a-z]/)) {
729
730
  yy.error(yy_.yylloc, 'TLDR003');
730
731
  }
731
732
  var punctuation = this.matches[2];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tldr-lint",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "A linting tool to validate tldr pages",
5
5
  "repository": "tldr-pages/tldr-lint",
6
6
  "scripts": {