diff --git a/packages/create-vite/template-react-ts/eslint.config.js b/packages/create-vite/template-react-ts/eslint.config.js index 91bc1fa5b80d38..96aaed696cda00 100644 --- a/packages/create-vite/template-react-ts/eslint.config.js +++ b/packages/create-vite/template-react-ts/eslint.config.js @@ -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, diff --git a/packages/create-vite/template-react/eslint.config.js b/packages/create-vite/template-react/eslint.config.js index 2136e6476c3e91..63259a106917e1 100644 --- a/packages/create-vite/template-react/eslint.config.js +++ b/packages/create-vite/template-react/eslint.config.js @@ -29,4 +29,4 @@ export default [ }, settings: { react: { version: '18.2' } }, }, -] \ No newline at end of file +]