tldr-lint icon indicating copy to clipboard operation
tldr-lint copied to clipboard

A linting tool to validate tldr pages

Results 11 tldr-lint issues
Sort by recently updated
recently updated
newest added

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.1.1. Release notes Sourced from eslint's releases. v9.1.1 Bug Fixes a26b402 fix: use @​eslint/create-config latest (#18373) (唯然) v9.1.0 Features 03068f1 feat: Provide helpful error message...

dependencies
javascript

Inspired by this PR: https://github.com/tldr-pages/tldr/pull/12617/files

As per https://github.com/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md#special-cases

This character is visually the same as hyphen minus (‐, code point U+002D), so it's very hard to catch for humans.

tldr-lint rejects all example descriptions that start with a verb ending in e.g. `as`: https://github.com/tldr-pages/tldr-lint/blob/b5c5a7f56c27e138f229576d363ffbae58a330bd/tldr.l#L155-L160 This causes the (infinitive) example description `Antialias an image...:` to be incorrectly rejected. See https://github.com/tldr-pages/tldr/pull/12198#issuecomment-1926412310

bug

To keep the pages up-to-date, we could introduce an linter error if the link in “More information” isn’t working/reachable.

Markdown files depend on trailing whitespace to add a line break without creating a new paragraph. ![image](https://user-images.githubusercontent.com/22801583/127423098-d50100a0-90c6-4926-9b11-8e9c12ba4c32.png) Due to our [`.editorconfig`](https://github.com/tldr-pages/tldr/blob/main/.editorconfig) and `TLDR008`, we don't have 2 spaces between the...

enhancement

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.2.0. Release notes Sourced from eslint's releases. v9.2.0 Features 8485d76 feat: no-case-declarations add suggestions (#18388) (Josh Goldberg ✨) a498f35 feat: update Unicode letter detection in...

dependencies
javascript

My suggestion is to add a list of warned websites, such as [linux.org](https://www.linux.org), [man7.org](https://man7.org/) and [die.net](https://linux.die.net/man/), etc. Obviously, it isn't a good idea to only allow manned.org links because that...

Bumps [eslint](https://github.com/eslint/eslint) from 9.10.0 to 9.11.0. Release notes Sourced from eslint's releases. v9.11.0 Features ec30c73 feat: add "eslint/universal" to export Linter (#18883) (唯然) c591da6 feat: Add language to types (#18917)...

dependencies
javascript