POC: chore: use Nx workspace lint rules (#3163)
* chore: use Nx workspace lint rules Closes #3162 * Fix lint * Fix lint on BE * Fix tests --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -12,7 +12,6 @@ services:
|
||||
- ../../..:/app
|
||||
- twenty_dev_node_modules_root:/app/node_modules
|
||||
- twenty_dev_node_modules_docs:/app/packages/twenty-docs/node_modules
|
||||
- twenty_dev_node_modules_eslint:/app/packages/eslint-plugin-twenty/node_modules
|
||||
- twenty_dev_node_modules_front:/app/packages/twenty-front/node_modules
|
||||
- twenty_dev_node_modules_server:/app/packages/twenty-server/node_modules
|
||||
- twenty_dev_node_modules_website:/app/packages/twenty-website/node_modules
|
||||
|
||||
@ -10,7 +10,7 @@ COPY ./package.json .
|
||||
COPY ./yarn.lock .
|
||||
COPY ./.yarnrc.yml .
|
||||
COPY ./.yarn/releases /app/.yarn/releases
|
||||
COPY ./packages/eslint-plugin-twenty /app/packages/eslint-plugin-twenty
|
||||
COPY ./tools/eslint-rules /app/tools/eslint-rules
|
||||
COPY ./packages/twenty-front /app/packages/twenty-front
|
||||
|
||||
RUN yarn
|
||||
|
||||
@ -6,7 +6,7 @@ COPY ./package.json .
|
||||
COPY ./yarn.lock .
|
||||
COPY ./.yarnrc.yml .
|
||||
COPY ./.yarn/releases /app/.yarn/releases
|
||||
COPY ./packages/eslint-plugin-twenty /app/packages/eslint-plugin-twenty
|
||||
COPY ./tools/eslint-rules /app/tools/eslint-rules
|
||||
COPY ./packages/twenty-server /app/packages/twenty-server
|
||||
RUN yarn
|
||||
|
||||
|
||||
Reference in New Issue
Block a user