mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-06-27 22:36:06 +00:00
Replace eslint.config.js with eslint.config.ts and split rules into modular eslint/ files (react, sonar, style, tests, stories, imports). Add custom local/padding-react-hooks rule that enforces padding around React hook calls (no blank lines between hooks, required before/after const/expression). Add @types/eslint-plugin-jsx-a11y and @typescript-eslint/utils as dev deps.
16 lines
301 B
JSON
16 lines
301 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"include": [
|
|
"modules/**/*",
|
|
"packages/**/*",
|
|
"apps/web/**/*",
|
|
"apps/api/**/*",
|
|
"docs/**/*",
|
|
"scripts/**/*",
|
|
"tools/**/*",
|
|
"eslint.config.ts",
|
|
"eslint/**/*.ts"
|
|
],
|
|
"exclude": ["**/node_modules", "**/dist", "**/dist-docker"]
|
|
}
|