Add prettier
This commit is contained in:
parent
205675b086
commit
5e5c7e8964
7 changed files with 1051 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue