Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
motion committed Apr 14, 2023
1 parent e8e881c commit 5ad54f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions packages/create-vite/template-react-ts/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from "eslint-plugin-react-hooks"
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tsParser from "@typescript-eslint/parser"
import tsPlugin from "@typescript-eslint/eslint-plugin"
import tsParser from '@typescript-eslint/parser'
import tsPlugin from '@typescript-eslint/eslint-plugin'

export default [
{
files: ["**/*.{ts,tsx}"],
files: ['**/*.{ts,tsx}'],
languageOptions: {
globals: globals.browser,
parser: tsParser,
},
globals: globals.browser,
parser: tsParser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
"@typescript-eslint": tsPlugin,
'@typescript-eslint': tsPlugin,
},
rules: {
...js.configs.recommended.rules,
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/template-react/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ export default [
},
settings: { react: { version: '18.2' } },
},
]
]

0 comments on commit 5ad54f1

Please sign in to comment.