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: migrate to ESLint flat config #3920

Merged
merged 4 commits into from
May 7, 2024
Merged

Conversation

lsh
Copy link
Member

@lsh lsh commented May 7, 2024

ESLint is removing the .eslintrc and .eslignore configuration options in version 9. Ahead of that transition, I am migrating us to use the new flat configuration format. I also remove tslint and dtslint, since those dependencies are being replaced by ESLint itself.

@lsh lsh requested a review from a team as a code owner May 7, 2024 18:46
@lsh lsh requested review from kanitw and domoritz May 7, 2024 20:06
@@ -62,8 +62,8 @@ export default function() {
// Marching squares with isolines stitched into rings.
// Based on https://github.com/topojson/topojson-client/blob/v3.0.0/src/stitch.js
function isorings(values, value, callback) {
var fragmentByStart = new Array,
fragmentByEnd = new Array,
var fragmentByStart = [],
Copy link
Member Author

@lsh lsh May 7, 2024

Choose a reason for hiding this comment

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

Note that this was the only violator of the "don't use new Array" lint, and it didn't feel worth it to do a follow up just for that.

@kanitw
Copy link
Member

kanitw commented May 7, 2024

no strong opinion here.

@lsh lsh merged commit 63587f2 into main May 7, 2024
5 checks passed
@lsh lsh deleted the lsh/eslint-flat-config-migration branch May 7, 2024 21:01
@lsh lsh mentioned this pull request May 8, 2024
lsh added a commit that referenced this pull request May 10, 2024
**docs**
* remove Google Analytics. (via #3894) (Thanks @domoritz!)

**monorepo**
* switch to ESLint flat config file. (via #3920) (Thanks @lsh!)
* update node versions in ci. (via #3915) (Thanks @domoritz!)

**vega-encode**
* use domainMin and domainMax to set scale padding. (via #3906) (Thanks
@Jami159 & @lsh!)

**vega-scale**
* Add observable10 palette. (via #3843) (Thanks @mcnuttandrew!)
* Respect tickMinStep for binned scale. (via #3904) (Thanks @alexxu-db!)

**vega-scenegraph**
* Revert TooltipHideEvent to MouseOutEvent to fix events on mobile. (via
#3909) (Thanks @kadamwhite!)

**vega-typings**
* Add observable10 palette. (via #3843) (Thanks @mcnuttandrew!)

**vega-view**
* turn off all handlers in View.finalize() to fix memory leak. (via
#3896) (Thanks @cmerrick!)
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.

None yet

2 participants