solana-labs/solana-program-library

Update to ESLint 9.0

Aperta

#6562 aperta il 10 apr 2024

 (13 commenti) (0 reazioni) (0 assegnatari)Rust (2401 fork)auto 404
good first issuejavascript

Metriche repository

Star
 (4236 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Problem

The new ESLint 9.0 update is out, and Dependabot has tried upgrading SPL to it, but it has many breaking changes.

For example, ESLint 9 uses a new config file structure, as well as some different CLI flags and configuration keys.

https://eslint.org/docs/latest/use/migrate-to-9.0.0

Solution

Go through the migration guide and upgrade SPL to ES Lint 9.0!

Guida contributor