Skip to content

Commit ab0f239

Browse files
authored
chore: upgrade to eslint 9 (#249)
1 parent 5de7b95 commit ab0f239

File tree

3 files changed

+221
-248
lines changed

3 files changed

+221
-248
lines changed

eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import es from "eslint-plugin-es";
1+
import es from "eslint-plugin-es-x";
22
import html from "eslint-plugin-html";
33
import markdown from "eslint-plugin-markdown";
44
import globals from "globals";
@@ -19,7 +19,7 @@ const compat = new FlatCompat({
1919

2020
export default [
2121
{ ignores: ["**/*\\{.,-}min.js", "docs/Chart.Financial.js"] },
22-
...compat.extends("chartjs", "plugin:es/restrict-to-es2018"),
22+
...compat.extends("chartjs", "plugin:es-x/restrict-to-es2022"),
2323
...markdown.configs.recommended,
2424
{
2525
files: ["**/*.html"],

0 commit comments

Comments
 (0)