nvimdev / guard-collection

collection the tools config for guard
MIT License
33 stars 10 forks source link

Add support for eslint flat configuration #38

Open dev-737 opened 8 months ago

dev-737 commented 8 months ago

Eslint introduced their new flat config system around a year ago, meaning .eslintrc.* files would instead be eslint.config.js, eslint.config.mjs or eslint.config.cjs files.

It's more meaningful now that eslint v9 is out in beta, which only supports the flat config system.

xiaoshihou514 commented 8 months ago

I suppose we just need to change these lines and maybe a few flags. But I don't work with js so I wouldn't change it blindly. Pr is always welcomed though :+1: