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>
This commit is contained in:
committed by
GitHub
parent
40bea0d95e
commit
17511be0cf
48
yarn.lock
48
yarn.lock
@ -16456,6 +16456,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/experimental-utils@npm:^5.62.0":
|
||||
version: 5.62.0
|
||||
resolution: "@typescript-eslint/experimental-utils@npm:5.62.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/utils": "npm:5.62.0"
|
||||
peerDependencies:
|
||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||
checksum: f7037977e00849cd8c03677a88b0659a4f0e0b1e0151aebb47c49c92b8e57408578142df598eac08b364623d926343c724f42494f87662e437b1c89f0b2e815b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0":
|
||||
version: 6.17.0
|
||||
resolution: "@typescript-eslint/parser@npm:6.17.0"
|
||||
@ -16667,6 +16678,24 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/utils@npm:5.62.0, @typescript-eslint/utils@npm:^5.45.0":
|
||||
version: 5.62.0
|
||||
resolution: "@typescript-eslint/utils@npm:5.62.0"
|
||||
dependencies:
|
||||
"@eslint-community/eslint-utils": "npm:^4.2.0"
|
||||
"@types/json-schema": "npm:^7.0.9"
|
||||
"@types/semver": "npm:^7.3.12"
|
||||
"@typescript-eslint/scope-manager": "npm:5.62.0"
|
||||
"@typescript-eslint/types": "npm:5.62.0"
|
||||
"@typescript-eslint/typescript-estree": "npm:5.62.0"
|
||||
eslint-scope: "npm:^5.1.1"
|
||||
semver: "npm:^7.3.7"
|
||||
peerDependencies:
|
||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||
checksum: f09b7d9952e4a205eb1ced31d7684dd55cee40bf8c2d78e923aa8a255318d97279825733902742c09d8690f37a50243f4c4d383ab16bd7aefaf9c4b438f785e1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/utils@npm:6.15.0":
|
||||
version: 6.15.0
|
||||
resolution: "@typescript-eslint/utils@npm:6.15.0"
|
||||
@ -16701,24 +16730,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/utils@npm:^5.45.0":
|
||||
version: 5.62.0
|
||||
resolution: "@typescript-eslint/utils@npm:5.62.0"
|
||||
dependencies:
|
||||
"@eslint-community/eslint-utils": "npm:^4.2.0"
|
||||
"@types/json-schema": "npm:^7.0.9"
|
||||
"@types/semver": "npm:^7.3.12"
|
||||
"@typescript-eslint/scope-manager": "npm:5.62.0"
|
||||
"@typescript-eslint/types": "npm:5.62.0"
|
||||
"@typescript-eslint/typescript-estree": "npm:5.62.0"
|
||||
eslint-scope: "npm:^5.1.1"
|
||||
semver: "npm:^7.3.7"
|
||||
peerDependencies:
|
||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||
checksum: f09b7d9952e4a205eb1ced31d7684dd55cee40bf8c2d78e923aa8a255318d97279825733902742c09d8690f37a50243f4c4d383ab16bd7aefaf9c4b438f785e1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/visitor-keys@npm:5.62.0":
|
||||
version: 5.62.0
|
||||
resolution: "@typescript-eslint/visitor-keys@npm:5.62.0"
|
||||
@ -44604,6 +44615,7 @@ __metadata:
|
||||
"@types/supertest": "npm:^2.0.11"
|
||||
"@types/uuid": "npm:^9.0.2"
|
||||
"@typescript-eslint/eslint-plugin": "npm:^6.10.0"
|
||||
"@typescript-eslint/experimental-utils": "npm:^5.62.0"
|
||||
"@typescript-eslint/parser": "npm:^6.10.0"
|
||||
"@typescript-eslint/utils": "npm:^6.9.1"
|
||||
"@vitejs/plugin-react-swc": "npm:^3.5.0"
|
||||
|
||||
Reference in New Issue
Block a user