twenty/tools/eslint-rules/rules
gitstart-app[bot] 17511be0cf
TWNTY-3794 - ESLint rule: only take explicit boolean predicates in if statements (#4354)
* ESLint rule: only take explicit boolean predicates in if statements

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>

* Merge main

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>

* Fix frontend linter errors

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>

* Fix jest

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>

* Refactor according to review

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>

* Fix lint on new code

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
2024-03-09 10:48:19 +01: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 TWNTY-3794 - ESLint rule: only take explicit boolean predicates in if statements (#4354) 2024-03-09 10:48:19 +01: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-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