etchteam / eslint

Our shared eslint config
ISC License
0 stars 0 forks source link

Use legacy configs #79

Closed JoshTheWanderer closed 1 month ago

JoshTheWanderer commented 1 month ago

eslint-config-next, eslint-plugin-import and eslint-plugin-jsx-a11y do not support the new flat file config and/or eslint v9.

Because of the above, we have to stay on v8 with the non-flat-file config.

Newer versions of eslint-plugin-security and eslint-plugin-json support the new flat file config by default, which broke our config.

This PR switches to using the legacy configs for the above two packages, updates the supported node versions in anticipation of eslint v9, and adds a basic CI workflow to catch any broken configs.

Closes ETCH-621.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud