Skip to content

Conversation

@ehuss
Copy link
Contributor

@ehuss ehuss commented Aug 25, 2025

This requires a switch to the configuration file format described at https://eslint.org/docs/latest/use/configure/configuration-files. I used the automatic tool to generate the new file, with some simplifications around defaults.

  • Removed no-cond-assign override, it is no longer needed.
  • Fixed catch (e) where e is not used. This seems a little pedantic to me, but seems like a relatively easy fix to just remove it, and I believe the syntax without the variable has been supported for quite some time. Alternatively it could also be _e, or explicitly allowed.
  • Added --no-warn-ignored to the script since it was very noisy.

This requires a switch to the configuration file format described at
https://eslint.org/docs/latest/use/configure/configuration-files. I used
the automatic tool to generate the new file, with some simplifications
around defaults.

- Removed no-cond-assign override, it is no longer needed.
- Fixed `catch (e)` where `e` is not used. This seems a little pedantic
  to me, but seems like a relatively easy fix to just remove it, and I
  believe the syntax without the variable has been supported for quite
  some time. Alternatively it could also be `_e`, or explicitly allowed.
- Added `--no-warn-ignored` to the script since it was very noisy.
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Aug 25, 2025
@ehuss ehuss added this pull request to the merge queue Aug 25, 2025
Merged via the queue into rust-lang:master with commit 3cd055c Aug 25, 2025
14 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: waiting on a review label Aug 25, 2025
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