On branch master
Your branch is up to date with 'origin/master'. Changes to be committed: modified: .vscode/settings.json modified: README.md modified: app/(root)/loading.jsx modified: app/(root)/page.jsx modified: package.json modified: pnpm-lock.yaml new file: vite-to_VS/.gitignore new file: vite-to_VS/README.md new file: vite-to_VS/eslint.config.js new file: vite-to_VS/index.html new file: vite-to_VS/package.json new file: vite-to_VS/public/vite.svg new file: vite-to_VS/src/App.css new file: vite-to_VS/src/App.tsx new file: vite-to_VS/src/assets/react.svg new file: vite-to_VS/src/index.css new file: vite-to_VS/src/main.tsx new file: vite-to_VS/src/vite-env.d.ts new file: vite-to_VS/tsconfig.app.json new file: vite-to_VS/tsconfig.json new file: vite-to_VS/tsconfig.node.json new file: vite-to_VS/vite.config.ts
This commit is contained in:
parent
09c5d5ca28
commit
ad5c4d92c9
22 changed files with 1072 additions and 541 deletions
23
vite-to_VS/eslint.config.js
Normal file
23
vite-to_VS/eslint.config.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import js from '@eslint/js'
|
||||
import globals from 'globals'
|
||||
import reactHooks from 'eslint-plugin-react-hooks'
|
||||
import reactRefresh from 'eslint-plugin-react-refresh'
|
||||
import tseslint from 'typescript-eslint'
|
||||
import { globalIgnores } from 'eslint/config'
|
||||
|
||||
export default tseslint.config([
|
||||
globalIgnores(['dist']),
|
||||
{
|
||||
files: ['**/*.{ts,tsx}'],
|
||||
extends: [
|
||||
js.configs.recommended,
|
||||
tseslint.configs.recommended,
|
||||
reactHooks.configs['recommended-latest'],
|
||||
reactRefresh.configs.vite,
|
||||
],
|
||||
languageOptions: {
|
||||
ecmaVersion: 2020,
|
||||
globals: globals.browser,
|
||||
},
|
||||
},
|
||||
])
|
||||
Loading…
Add table
Add a link
Reference in a new issue