Major build system migration replacing react-scripts with Vite. Upgrades React to v19, Redux Toolkit to v2, Three.js to 0.184, and replaces axios with ky. Removes IE11 support, test infrastructure, and polyfills. Updates TypeScript config to project references and bumps version to 3.0.0.
23 lines
598 B
JavaScript
23 lines
598 B
JavaScript
import js from '@eslint/js';
|
|
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
import reactHooks from 'eslint-plugin-react-hooks';
|
|
import reactRefresh from 'eslint-plugin-react-refresh';
|
|
import globals from 'globals';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
export default defineConfig([
|
|
globalIgnores(['dist']),
|
|
{
|
|
files: ['**/*.{ts,tsx}'],
|
|
extends: [
|
|
js.configs.recommended,
|
|
tseslint.configs.recommended,
|
|
reactHooks.configs.flat.recommended,
|
|
reactRefresh.configs.vite,
|
|
],
|
|
languageOptions: {
|
|
globals: globals.browser,
|
|
},
|
|
},
|
|
]);
|