Open theoludwig opened 4 months ago
Refactoring code
Rewrite the code in TypeScript. The project wasn't started as TypeScript, as markdownlint types was light and often incorrect, but this changed, and greatly improved. As the types improved, and are now "good", we use TypeScript to lint the JSDOC since this commit: https://github.com/theoludwig/markdownlint-rule-relative-links/commit/1ddcdc7b188116ad286fba68de90c7ce9860410c.
markdownlint
As we're already using TypeScript, but to lint JavaScript, it makes sense, to instead directly use TypeScript syntax.
Type of Improvement
Refactoring code
Proposal
Rewrite the code in TypeScript. The project wasn't started as TypeScript, as
markdownlint
types was light and often incorrect, but this changed, and greatly improved. As the types improved, and are now "good", we use TypeScript to lint the JSDOC since this commit: https://github.com/theoludwig/markdownlint-rule-relative-links/commit/1ddcdc7b188116ad286fba68de90c7ce9860410c.As we're already using TypeScript, but to lint JavaScript, it makes sense, to instead directly use TypeScript syntax.