twenty/tools/eslint-rules/rules
gitstart-twenty bb7d94a455
Create ESLint rule to discourage usage of navigate() and prefer Link (#5642)
### Description
Create ESLint rule to discourage usage of navigate() and prefer Link


### Refs
#5468 

### Demo

![Capture-2024-05-29-112852](https://github.com/twentyhq/twenty/assets/140154534/28378c09-86bb-49d3-9e9a-49aa1c07ad11)

![Capture-2024-05-29-112843](https://github.com/twentyhq/twenty/assets/140154534/2c05ea92-e19b-49ae-acb9-07f6ec9182ab)

Fixes #5468

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Matheus <matheus_benini@hotmail.com>
Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
2024-06-04 17:04:57 +02:00
..
component-props-naming.spec.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
component-props-naming.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
effect-components.spec.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
effect-components.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
explicit-boolean-predicates-in-if.ts Fix explicit boolean predicates rule not working with boolean constants (#5009) 2024-04-17 17:06:37 +02:00
matching-state-variable.spec.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
matching-state-variable.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
max-consts-per-file.spec.ts TWNTY-3825 - ESLint rule: const naming (#4171) 2024-02-25 13:52:48 +01:00
max-consts-per-file.ts TWNTY-3825 - ESLint rule: const naming (#4171) 2024-02-25 13:52:48 +01:00
no-hardcoded-colors.spec.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
no-hardcoded-colors.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
no-navigate-prefer-link.spec.ts Create ESLint rule to discourage usage of navigate() and prefer Link (#5642) 2024-06-04 17:04:57 +02:00
no-navigate-prefer-link.ts Create ESLint rule to discourage usage of navigate() and prefer Link (#5642) 2024-06-04 17:04:57 +02:00
no-state-useref.spec.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
no-state-useref.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
sort-css-properties-alphabetically.spec.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
sort-css-properties-alphabetically.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
styled-components-prefixed-with-styled.spec.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
styled-components-prefixed-with-styled.ts POC: chore: use Nx workspace lint rules (#3163) 2024-01-03 23:07:25 +01:00
use-getLoadable-and-getValue-to-get-atoms.spec.ts TWNTY-3794 - ESLint rule: only take explicit boolean predicates in if statements (#4354) 2024-03-09 10:48:19 +01:00
use-getLoadable-and-getValue-to-get-atoms.ts TWNTY-2244 - ESLint rule: enforce usage of .getLoadable() + .getValue() to get atoms (#4143) 2024-03-06 00:24:20 +01:00
useRecoilCallback-has-dependency-array.spec.ts [ESLint rule] prevent useRecoilCallback without a dependency array (#4411) 2024-03-12 15:12:17 +01:00
useRecoilCallback-has-dependency-array.ts [ESLint rule] prevent useRecoilCallback without a dependency array (#4411) 2024-03-12 15:12:17 +01:00