Add prettier

This commit is contained in:
Ana Custura 2026-06-02 12:21:25 +01:00
parent 205675b086
commit 5e5c7e8964
7 changed files with 1051 additions and 3 deletions

View file

@ -4,6 +4,7 @@ import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import { defineConfig, globalIgnores } from 'eslint/config'
import eslintConfigPrettier from "eslint-config-prettier";
export default defineConfig([
globalIgnores(['dist']),
@ -14,6 +15,7 @@ export default defineConfig([
tseslint.configs.recommended,
reactHooks.configs.flat.recommended,
reactRefresh.configs.vite,
eslintConfigPrettier,
],
languageOptions: {
globals: globals.browser,