Commit Graph

22 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
851e585b9b Add ISC license headers to Go, TypeScript, and SQL files
Add ISC license headers to all .go, .ts, .tsx, and .sql files
using each file's git history to determine the correct copyright
year or year range. Trademarked icons (brand logos, vendor logos,
compliance framework logos) are excluded.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-03-31 13:31:30 +02: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é
d1cd2b5412 Fix react configs
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-23 12:42:36 +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é
3b4f77c5e8 Change folder aliases
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 21:14:37 +04:00
Émile Ré
c168be6de0 Add import order sorting rules
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 20:38:37 +04:00
Émile Ré
56d17c4f3f Streamline ts eslint configs
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 20:12:28 +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é
988909eb78 Fix packages/ui lint issues
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 16:39:20 +04:00
Émile Ré
dd23449cc0 Fix apps/console lint issues
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 12:51:43 +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é
bcc9de804e Add shareable config TS files and tsconfig.json
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