Skip to content

Commit

Permalink
add prettier plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Aug 16, 2024
1 parent 7308894 commit 0107303
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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,
},
Expand Down

0 comments on commit 0107303

Please sign in to comment.