Tags: electron/lint-roller
Tags
feat(api-history): `--disallow-comments` (#81) * feat(api-history): `--check-descriptions` Reference: #78 (comment) * test(api-history): description test * fix(api-history): only double quotes * feat(api-history): `--disallow-comments` Reference: #79 * feat(api-history): traverse tree instead * fix(api-history): description `for` loop Co-authored-by: David Sanders <dsanders11@ucsbalum.com> Reference: #80 (comment) * style(api-history): fix lint, leave comment --------- Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
feat: api history (#73) * feat(api-history): basic parsing * feat(api-history): try to detect basic user error * feat(api-history): zod validation * feat(api-history): switch to json schema and ajv instead of zod * refactor(api-history): remove namespace in schema title * feat(api-history): optimize imports, more async * feat(api-history): remove `removed` schema property * fix(api-history): add missing param to usage * feat(api-history): basic tests * feat(api-history): cli schema option * fix(api-history): delete links from fixtures * feat(api-history): use mockup schema * style(api-history): remove old comments * feat(api-history): add format test * test(api-history): remove snapshot, destructure regex matches Co-authored-by: David Sanders <dsanders11@ucsbalum.com> * feat(api-history): use `hast-util-from-markdown` instead of regex Signed-off-by: Piotr Płaczek <piotrpdev@gmail.com> * style(api-history): slightly nicer formatting * feat(api-history): remove redundant `validate-with-schema` flag * feat(api-history): check breaking changes header exists * feat(api-history): check placement * feat(api-history): check strings (previously check descriptions) * fix(api-history): change check descriptions to check strings in help * style(api-history): catch-up on linting * feat(api-history): check pull request links * test(api-history): explicitly specify default flags * feat(api-history): warnings, nicer errors * test(api-history): check all numbers in each test * test(api-history): large amount of api history * refactor(api-history): remove `--check-pull-request-links` * style(api-history): catch up on lint * fix(api-history): unnecessary lowercase electron/website#594 (comment) * fix(api-history): match api history block more consistently * feat(api-history): skip documents without html comments * fix(api-history): remove debug `console.log` * Apply suggestions from code review Co-authored-by: David Sanders <dsanders11@ucsbalum.com> * style(api-history): lint fix * style(api-history): reorder imports #73 (comment) * docs(api-history): comments for script options #73 (comment) * fix(api-history): remove `fs.access()` before `fs.readFile()` #73 (comment) * test(api-history): use `fs.mkdtemp()` instead of fixtures folder #73 (comment) * test(api-history): use newest schema #73 (comment) * test(api-history): use newest `breaking-changes.md` #73 (comment) * test(api-history): rename fixture to avoid conflict with other `.spec.ts` * chore: retain .md extension Signed-off-by: David Sanders <dsanders11@ucsbalum.com> * chore: maintainer committed yarn.lock Signed-off-by: David Sanders <dsanders11@ucsbalum.com> * test: ignore API history files in links spec Signed-off-by: David Sanders <dsanders11@ucsbalum.com> --------- Signed-off-by: Piotr Płaczek <piotrpdev@gmail.com> Signed-off-by: David Sanders <dsanders11@ucsbalum.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
PreviousNext