You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch migrates `ESLint` configuration, `.eslintrc.yml` to [the new flat config format](https://eslint.org/docs/latest/use/configure/migration-guide) by creating `eslint.config.mjs`, meanwhile, re-enables [cpplint](https://github.com/cpplint/cpplint) for Linux platform actions, including:
1. Config `eslint` using recommended configs for `*.js` files in`eslint.config.mjs`.
2. Config `eslint-plugin-prettier` using recommended configs for `*.js` files in `eslint.config.mjs`.
3. Config `@typescript-eslint/eslint-plugin` using recommended configs for `*.d.ts` files in `eslint.config.mjs`.
4. Re-enable [`cpplint.py`](https://github.com/cpplint/cpplint/blob/develop/cpplint.py) for `*.{hpp,cpp}` files.
5. Fix errors/warnings reported by linters above.
6. Add `npm run lint` as addition step for actions, `.github/workflows/linux-build-and-test-compatibility.yml` and `.github/workflows/linux-build-and-test.yml`.
7. Remove original `.eslintrc.yml`.
Fix: #1056
No description provided.
The text was updated successfully, but these errors were encountered: