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

Update linters #8621

Merged
merged 11 commits into from
Oct 31, 2024
Merged

Update linters #8621

merged 11 commits into from
Oct 31, 2024

Conversation

anselmbradford
Copy link
Member

@anselmbradford anselmbradford commented Oct 30, 2024

Changes

How to test this PR

  1. yarn lint should pass.
  2. Eslint config can be inspected with npx @eslint/config-inspector

@anselmbradford anselmbradford changed the title Update [email protected] Update linters Oct 30, 2024
// TODO: remove when gulp build config is updated to handle spread operator.
// eslint-disable-next-line prefer-object-spread
this.chart = Highcharts.mapChart(el, Object.assign({}, this.chartOptions));
Copy link
Member Author

Choose a reason for hiding this comment

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

prefer-object-spread isn't set by default in @eslint.js.configs.recommended. However, we could enable it with prefer-object-spread: [error] in the rules and it'll auto-update this to the spread operator.

@anselmbradford anselmbradford added this pull request to the merge queue Oct 31, 2024
Merged via the queue into main with commit 32b6ff5 Oct 31, 2024
11 checks passed
@anselmbradford anselmbradford deleted the ans_update_eslint branch October 31, 2024 12:06
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