File tree Expand file tree Collapse file tree
documentation/docs/04-Guides Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -562,43 +562,6 @@ These ESLint rules provide several benefits:
5625625 . ** Quality** : Catches common mistakes and anti-patterns early
5635636 . ** Automation** : Many improvements are applied automatically
564564
565- ## Troubleshooting
566-
567- ### Cache Issues
568-
569- If ESLint seems to be using stale data:
570-
571- ``` bash
572- rm -rf node_modules/.cache
573- npm run lint
574- ```
575-
576- ### Project Structure Cache
577-
578- The project structure plugin creates a cache file:
579-
580- ``` bash
581- rm project-structure.cache.json
582- npm run lint
583- ```
584-
585- ### Type Checking Issues
586-
587- If TypeScript type checking is slow:
588-
589- ``` js title="eslint.config.mjs"
590- {
591- languageOptions: {
592- parserOptions: {
593- projectService: true , // Uses TypeScript project service
594- tsconfigRootDir: import .meta.dirname,
595- },
596- },
597- }
598- ```
599-
600- This uses the TypeScript project service for faster type checking.
601-
602565## Resources
603566
604567- [ eslint-plugin-project-structure] ( https://github.com/Igorkowalski94/eslint-plugin-project-structure )
You can’t perform that action at this time.
0 commit comments