Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: switch to eslint 9 flat config #202

Merged
merged 10 commits into from
Nov 26, 2024
Prev Previous commit
Next Next commit
Apply suggestions from code review
nilzona authored Nov 26, 2024

Verified

This commit was signed with the committer’s verified signature.
ctavan Christoph Tavan
commit d22c8f48ad0db7cc6f463b8ce9f61412b0448136
5 changes: 1 addition & 4 deletions packages/eslint-config/README.md
Original file line number Diff line number Diff line change
@@ -4,9 +4,8 @@ Qlik's ESlint config for pure JavaScript/TypeScript environments.

## Migrating from 0.x

Integration steps:

1. Install latest `eslint-config`
1. Install latest `@qlik/eslint-config`
2. Update to ESLint 9
3. Rename your config to `eslint.config.js` (if you have `"type": "module"` in your package json) / `eslint.config.mjs` (if otherwise)

@@ -110,7 +109,6 @@ Node environment:
import qlik from "@qlik/eslint-config";

export default qlik.compose(
...qlik.configs.recommended,
...qlik.configs.esm, // or qlik.configs.cjs
{
ignores: ["dist", "npm", "node_modules"],
@@ -125,7 +123,6 @@ Additional configs that can be used in conjunction with the above:
import qlik from "@qlik/eslint-config";

export default qlik.compose(
...qlik.configs.recommended,
...qlik.configs.esm, // or qlik.configs.cjs
...qlik.configs.vitest, // or qlik.configs.jest
...qlik.configs.playwright,
Loading