diff --git a/eslint.config.js b/eslint.config.js index d3f0ba8..ab0ab86 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -2,6 +2,7 @@ import js from "@eslint/js" import globals from "globals" import reactHooks from "eslint-plugin-react-hooks" import reactRefresh from "eslint-plugin-react-refresh" +import prettier from "eslint-plugin-prettier" import tseslint from "typescript-eslint" export default tseslint.config( @@ -13,8 +14,8 @@ export default tseslint.config( ecmaVersion: 2020, globals: globals.browser, }, - // TODO: add prettier plugin. plugins: { + prettier: prettier, "react-hooks": reactHooks, "react-refresh": reactRefresh, },