chore(tooling): ajouter .prettierrc + intégrer eslint-config-prettier
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ef9a84433e
commit
7fed47dfeb
2 changed files with 10 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import globals from 'globals'
|
|||
import reactHooks from 'eslint-plugin-react-hooks'
|
||||
import reactRefresh from 'eslint-plugin-react-refresh'
|
||||
import tseslint from 'typescript-eslint'
|
||||
import prettierConfig from 'eslint-config-prettier'
|
||||
import { defineConfig, globalIgnores } from 'eslint/config'
|
||||
|
||||
export default defineConfig([
|
||||
|
|
@ -14,6 +15,7 @@ export default defineConfig([
|
|||
tseslint.configs.recommended,
|
||||
reactHooks.configs.flat.recommended,
|
||||
reactRefresh.configs.vite,
|
||||
prettierConfig,
|
||||
],
|
||||
languageOptions: {
|
||||
ecmaVersion: 2020,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue