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

Don't report unused disable directive (ESLint) #596

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

Splines
Copy link
Member

@Splines Splines commented Feb 20, 2024

See the related discussion here for why we introduce this change. We need this for the file edit.js.erb in the annotation tool (app/views/annotations/edit.js.erb) for the line:

var posted = <%= @posted %>;

As described in the discussion, this line is buggy for the autocorrection and emits the unnecessary "Unused eslint-disable directive" warning.

@Splines Splines added the dependencies Pull requests that update a dependency file label Feb 20, 2024
@Splines Splines self-assigned this Feb 20, 2024
@Splines Splines marked this pull request as ready for review February 20, 2024 11:28
@Splines Splines merged commit 39d6eab into dev Feb 20, 2024
5 checks passed
@Splines Splines deleted the deps/eslint-plugin-upgrade branch February 20, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants