eslint / js

Monorepo for the JS language tools.
BSD 2-Clause "Simplified" License
2.29k stars 196 forks source link

refactor: switch to eslint flat config #577

Closed mdjermanovic closed 1 year ago

mdjermanovic commented 1 year ago

Switches to eslint.config.js, and newly released eslint-config-eslint v8.

Marked as refactor because this includes changes in production code.

nzakas commented 1 year ago

Re-approved latest changes. This is ready for merge but would like @mdjermanovic to do that to make sure I didn't miss things from other conversations.

mdjermanovic commented 1 year ago

It's good now with eslint-config-eslint v8. I'll merge this now and update the config when we release eslint-config-eslint v9 with changes from https://github.com/eslint/eslint/pull/17338 and https://github.com/eslint/eslint/pull/17336.