Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: allow renamed and removed lints on docs build #2344

Merged
merged 2 commits into from
Oct 10, 2022
Merged

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Oct 9, 2022

Currently, the Netlify docs are failing because of a warning that one of the lints we explicitly enable is no longer a warning on nightly but becoming a hard error. This is because the docs are built on nightly with -D warnings, which denies all warnings...which seems not ideal.

For now, let's not remove that lint from the deny list, as it's still a valid lint on stable. Instead, this PR explicitly allows that lint on the docs build.

Currently, the Netlify docs are failing because of a warning that one of
the lints we explicitly enable is no longer a warning on nightly but
becoming a hard error. This is because the docs are built on nightly
with `-D warnings`, which denies all warnings...which seems not ideal.

For now, let's not remove that lint from the `deny` list, as it's still
a valid lint on stable. Instead, this PR explicitly allows that lint on
the docs build.
@hawkw hawkw requested review from davidbarsky and a team as code owners October 9, 2022 17:25
@hawkw
Copy link
Member Author

hawkw commented Oct 9, 2022

lmao i got the name of the lint wrong:

10:25:41 AM: error[E0602]: unknown lint: `renamed_and_removed_lints``
  |
  = help: did you mean: `renamed_and_removed_lints`
  = note: requested on the command line with `--force-warn renamed_and_removed_lints``

@hawkw hawkw merged commit 1497179 into master Oct 10, 2022
@hawkw hawkw deleted the eliza/const-err branch October 10, 2022 18:58
hawkw added a commit that referenced this pull request Apr 21, 2023
Currently, the Netlify docs are failing because of a warning that one of
the lints we explicitly enable is no longer a warning on nightly but
becoming a hard error. This is because the docs are built on nightly
with `-D warnings`, which denies all warnings...which seems not ideal.

For now, let's not remove that lint from the `deny` list, as it's still
a valid lint on stable. Instead, this PR explicitly allows that lint on
the docs build.
hawkw added a commit that referenced this pull request Apr 21, 2023
Currently, the Netlify docs are failing because of a warning that one of
the lints we explicitly enable is no longer a warning on nightly but
becoming a hard error. This is because the docs are built on nightly
with `-D warnings`, which denies all warnings...which seems not ideal.

For now, let's not remove that lint from the `deny` list, as it's still
a valid lint on stable. Instead, this PR explicitly allows that lint on
the docs build.
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