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
23 lines
610 B
JavaScript
23 lines
610 B
JavaScript
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,
|
|
},
|
|
},
|
|
])
|