Commit Graph

14 Commits

Author SHA1 Message Date
Émile Ré
e4dbf9e2bb Remove --max-warnings from lint scripts
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-04-06 13:33:51 +04:00
Sacha Al Himdani
a3580a5647 Treat ESLint warnings as errors in all packages
Add --max-warnings 0 to every eslint lint script so that any warning
causes a non-zero exit code. This makes `make lint` and CI fail on
warnings, not just hard errors.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-03-26 10:47:33 +01:00
Émile Ré
2a36a3cfba Fix @probo/eslint-config has only dev dependencies
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-02-11 15:26:22 +04:00
Émile Ré
9b528c2b88 Fix eslint-plugin-relay d.ts reach by console and trust
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-23 15:51:05 +04:00
Émile Ré
3899656730 Add eslint-plugin-relay rules (warning only)
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-23 15:16:41 +04:00
Émile Ré
6ab5ccc59f Disallow imports with extensions
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-23 13:12:06 +04:00
Émile Ré
fb521544e5 Rework configs using tseslint InfiniteArray
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-23 12:42:36 +04:00
Émile Ré
aa5696b5d3 Add eslint-plugin-import
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 19:57:10 +04:00
Émile Ré
21342fba05 Fix eslint-config package internal imports so other packages can use it for their eslint config
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 12:51:42 +04:00
Émile Ré
469e1431a3 Use eslint to lint the eslint-config package itself
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 12:51:42 +04:00
Émile Ré
6d75d64ba9 Add typescript and esplugin-react to eslint-config
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 12:51:42 +04:00
Émile Ré
a82018a765 Update linting dependencies
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 12:51:42 +04:00
Émile Ré
27428377c6 Remove prettier in favor of @stylistic/eslint-plugin
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 12:51:42 +04:00
Yash Gupta
c24726b481 chore: add shared ESLint and Prettier configuration
Closes #615

- Add @probo/eslint-config package with ESLint 9.x flat config
- Enhance @probo/prettier with aligned stylistic rules
- Migrate console, trust, and UI packages to shared config
- Remove duplicate ESLint dependencies from individual packages

Signed-off-by: Yash Gupta <yash3144@gmail.com>
2026-01-22 12:51:42 +04:00