posit-dev / publisher

MIT License
3 stars 0 forks source link

Use ESLint flat configurations #1293

Open dotNomad opened 3 months ago

dotNomad commented 3 months ago

This work is on hold until:


ESLint v9.0.0 (which is currently in beta.1) will make the eslint.config.js configuration format the default and deprecate the current configuration method. In ESLint 10 our current configuration will no longer be supported.

Note that we cannot use ESLint v9 directly because the https://github.com/typescript-eslint/typescript-eslint/issues/8211 just yet, but can use the configuration format since it is supported in v8 (as long as our extends support it too).

See #1030 for more comments about this as things were figured out.

References

dotNomad commented 3 months ago

eslint-plugin-vue just added support for the flat config: https://github.com/vuejs/eslint-plugin-vue/issues/1291