Skip to content

Commit

Permalink
chore: upgrade to eslint 9 (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Nov 15, 2024
1 parent 5de7b95 commit ab0f239
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 248 deletions.
4 changes: 2 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import es from "eslint-plugin-es";
import es from "eslint-plugin-es-x";
import html from "eslint-plugin-html";
import markdown from "eslint-plugin-markdown";
import globals from "globals";
Expand All @@ -19,7 +19,7 @@ const compat = new FlatCompat({

export default [
{ ignores: ["**/*\\{.,-}min.js", "docs/Chart.Financial.js"] },
...compat.extends("chartjs", "plugin:es/restrict-to-es2018"),
...compat.extends("chartjs", "plugin:es-x/restrict-to-es2022"),
...markdown.configs.recommended,
{
files: ["**/*.html"],
Expand Down
Loading

0 comments on commit ab0f239

Please sign in to comment.