Skip to content

feat: allow errors to be ignored for JS linting - #398

Merged
wilsonjord merged 2 commits into
mainfrom
feat-allow-lint-ignore
Jul 31, 2026
Merged

feat: allow errors to be ignored for JS linting#398
wilsonjord merged 2 commits into
mainfrom
feat-allow-lint-ignore

Conversation

@wilsonjord

Copy link
Copy Markdown
Contributor

When onboarding projects to use linting, useful to be able to suppress errors to allow builds to still be successful.
Note: even when errors are explicitly ignored by the calling workflow, we still get reporting on them:
https://github.com/GeoNet/tilde/actions/runs/30586891104

@wilsonjord
wilsonjord requested a review from a team as a code owner July 30, 2026 22:27
Allows linting errors to be explicitly ignored, essentially turning them
into warnings.
@wilsonjord
wilsonjord force-pushed the feat-allow-lint-ignore branch from 163b2d6 to a6fbbfb Compare July 30, 2026 22:30
@wilsonjord
wilsonjord requested a review from vladioanr July 30, 2026 22:31
@vladioanr
vladioanr requested a review from ardrigh July 30, 2026 22:33

@ardrigh ardrigh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just one style comment.

Comment on lines +21 to +22
ignore-errors:
type: boolean

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ignore-errors:
type: boolean
ignore-errors:
required: false
type: boolean

Just for consistency with the other input parameters, define required: false here as well.

@wilsonjord
wilsonjord merged commit 2987240 into main Jul 31, 2026
16 checks passed
@wilsonjord
wilsonjord deleted the feat-allow-lint-ignore branch July 31, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants