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

chore: switch to eslint 9 #946

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

domoritz
Copy link
Member

@domoritz domoritz commented Sep 9, 2024

Update ESLint to version 9 and migrate to flat config format.

  • Add eslint.config.mjs: Create a new file eslint.config.mjs with the flat config format for ESLint, including necessary plugins, parser options, rules, and ignore patterns.
  • Remove .eslintrc.js: Delete the file .eslintrc.js.
  • Remove .eslintignore: Delete the file .eslintignore.
  • Update package.json:
    • Change ESLint version to ^9.0.0 in devDependencies.
    • Update lint and format scripts to use the new ESLint configuration.

For more details, open the Copilot Workspace session.

Update ESLint to version 9 and migrate to flat config format.

* **Add `eslint.config.mjs`**: Create a new file `eslint.config.mjs` with the flat config format for ESLint, including necessary plugins, parser options, rules, and ignore patterns.
* **Remove `.eslintrc.js`**: Delete the file `.eslintrc.js`.
* **Remove `.eslintignore`**: Delete the file `.eslintignore`.
* **Update `package.json`**:
  - Change ESLint version to `^9.0.0` in `devDependencies`.
  - Update `lint` and `format` scripts to use the new ESLint configuration.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/vega/vega-tooltip?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant