### Configure ESLint for Type-Aware Lint Rules Source: https://github.com/ampplex/influencerflow/blob/main/client/InfluencerFlow/README.md Extend ESLint configuration to include type-aware lint rules for production applications. Ensure `tsconfig.node.json` and `tsconfig.app.json` are correctly specified. ```javascript export default tseslint.config({ extends: [ // Remove ...tseslint.configs.recommended and replace with this ...tseslint.configs.recommendedTypeChecked, // Alternatively, use this for stricter rules ...tseslint.configs.strictTypeChecked, // Optionally, add this for stylistic rules ...tseslint.configs.stylisticTypeChecked, ], languageOptions: { // other options... parserOptions: { project: ['./tsconfig.node.json', './tsconfig.app.json'], tsconfigRootDir: import.meta.dirname, }, }, }) ``` -------------------------------- ### Integrate React-Specific ESLint Plugins Source: https://github.com/ampplex/influencerflow/blob/main/client/InfluencerFlow/README.md Add `eslint-plugin-react-x` and `eslint-plugin-react-dom` to your ESLint configuration to enable React-specific linting rules. This includes enabling their recommended TypeScript and general rules. ```javascript // eslint.config.js import reactX from 'eslint-plugin-react-x' import reactDom from 'eslint-plugin-react-dom' export default tseslint.config({ plugins: { // Add the react-x and react-dom plugins 'react-x': reactX, 'react-dom': reactDom, }, rules: { // other rules... // Enable its recommended typescript rules ...reactX.configs['recommended-typescript'].rules, ...reactDom.configs.recommended.rules, }, }) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.