twenty/packages/twenty-front
Félix Malfait c737028dd6
Move tools/eslint-rules to packages/twenty-eslint-rules (#17203)
## Summary

Moves the custom ESLint rules from `tools/eslint-rules` to
`packages/twenty-eslint-rules` for better organization within the
monorepo packages structure.

## Changes

- Move `eslint-rules` from `tools/` to `packages/twenty-eslint-rules`
- Use `loadWorkspaceRules` from `@nx/eslint-plugin` to load custom rules
- Update all ESLint configs to use the `twenty/` rule prefix instead of
`@nx/workspace-`
- Update `project.json`, `jest.config.mjs` with new paths
- Update `package.json` workspaces and `nx.json` cache inputs
- Update Dockerfile reference

## Technical Details

The custom ESLint rules are now loaded using Nx's `loadWorkspaceRules`
utility which:
- Handles TypeScript transpilation automatically
- Allows loading workspace rules from any directory
- Provides a cleaner approach than the previous `@nx/workspace-`
convention

## Testing

- Verified all 17 custom ESLint rules load correctly from the new
location
- Verified linting works on dependent packages (twenty-front,
twenty-server, etc.)
2026-01-17 07:37:17 +01:00
..
.storybook Move tools/eslint-rules to packages/twenty-eslint-rules (#17203) 2026-01-17 07:37:17 +01:00
__mocks__ Fix storybook build cache and logs (#14130) 2025-08-28 14:46:43 +02:00
public Page Layout - Addition of widgets (#14184) 2025-09-02 10:20:28 +00:00
scripts Fix execution permissions (#11604) 2025-04-16 11:46:37 +02:00
src Move tools/eslint-rules to packages/twenty-eslint-rules (#17203) 2026-01-17 07:37:17 +01:00
.env.example Remove VITE_DISABLE_ESLINT_CHECKER environment variable (#15943) 2025-11-20 11:38:43 +01:00
.gitignore
.prettierignore
.swcrc [REFACTOR] Twenty UI multi barrel (#11301) 2025-04-03 09:47:55 +00:00
codegen-metadata.cjs 1635 extensibilitytwenty cli app vars (#15143) 2025-10-17 10:54:38 +02:00
codegen.cjs Create save dashboard record action (#14665) 2025-09-24 12:03:27 +00:00
eslint.config.mjs Move tools/eslint-rules to packages/twenty-eslint-rules (#17203) 2026-01-17 07:37:17 +01:00
folderStructure.json Fix : Menu shouldn't be displayed on logged out pages (#11437) 2025-04-08 11:54:21 +02:00
index.html 1859 extensibility improve application settings section (#16786) 2025-12-24 14:35:36 +01:00
jest.config.mjs Move tools/eslint-rules to packages/twenty-eslint-rules (#17203) 2026-01-17 07:37:17 +01:00
lingui.config.ts BREAKING - feat(auth): refactor tokens logic & enhance email verification flow (#13487) 2025-07-31 12:00:59 +02:00
nyc.config.cjs 1895 extensibility v1 application tokens 3 (#16504) 2025-12-15 17:44:23 +01:00
package.json build(deps-dev): bump @typescript-eslint/parser from 8.39.0 to 8.51.0 (#16926) 2026-01-05 17:19:08 +05:00
project.json fix: centralize lint:changed configuration in nx.json (#16877) 2025-12-31 13:47:20 +01:00
README.md
setupTests.ts Move tools/eslint-rules to packages/twenty-eslint-rules (#17203) 2026-01-17 07:37:17 +01:00
tsconfig.build.json Upgrade SWC Core and Storybook to v8 (#13799) 2025-08-11 12:02:33 +02:00
tsconfig.dev.json Refactor read only object and fields (#13936) 2025-08-19 18:10:35 +02:00
tsconfig.json Center metric layer on pie chart + cleanup (#16105) 2025-11-27 11:15:48 +00:00
tsconfig.spec.json Refactor twenty-front metadata api services for v2 (#15360) 2025-10-28 10:50:41 +01:00
tsconfig.storybook.json
vite.config.ts revert bundle size increase (#16575) 2025-12-15 18:13:05 +01:00

Run yarn dev while server running on port 3000