Skip to content

Tags: electron/lint-roller

Tags

v3.0.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore!: convert to ESM (#97)

* chore!: convert to ESM

BREAKING CHANGE: This package is now ESM-only and requires Node.js >= 20.16.0 || >= 22.4.0

* chore: convert custom rules to .cjs extension

* chore: convert custom markdownlint rules to ESM

v2.4.0

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
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>

v2.3.0

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
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>

v2.2.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: markdownlint rule to disallow newline in link text (#69)

v2.1.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: accurate position info for custom markdownlint rules (#67)

* build: lint .mjs files

* fix: accurate position info for custom markdownlint rules

v2.0.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore!: rename binaries to be more generic (#58)

BREAKING CHANGE: binaries have been renamed

v1.13.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: markdownlint rule to disallow opening curly braces (#61)

v1.12.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: filter out some false positives for EMD002 (#51)

v1.12.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: markdownlint rule to disallow opening angle brackets (#50)

v1.11.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: set user agent to allow fetching Twitter links (#49)