Describe
We are using eslint packages v7. The major blocker for upgrading to v9 is to rewrite config files to the new syntax.
The .eslintrc.json and .eslintignore must be rewritten to the eslint.config.js file.
The new config requires module syntax. As the main code of the test-report library is written in CommonJS, we will use the intermediate compatibility mode. We will upgrade library code to module syntax in the future.
References
https://eslint.org/docs/latest/use/configure/configuration-files
https://eslint.org/docs/latest/use/configure/migration-guide
Describe
We are using
eslintpackages v7. The major blocker for upgrading to v9 is to rewrite config files to the new syntax.The
.eslintrc.jsonand.eslintignoremust be rewritten to theeslint.config.jsfile.The new config requires module syntax. As the main code of the
test-reportlibrary is written in CommonJS, we will use the intermediate compatibility mode. We will upgrade library code to module syntax in the future.References
https://eslint.org/docs/latest/use/configure/configuration-files
https://eslint.org/docs/latest/use/configure/migration-guide