diff options
author | Wolfgang Müller | 2024-11-14 16:24:58 +0100 |
---|---|---|
committer | Wolfgang Müller | 2024-11-14 16:51:56 +0100 |
commit | 9e4f47b3dbc64d9328f3d7532ecfe0cd9432f21c (patch) | |
tree | 82782a479656519ce86ec617f702506306ec10c2 /frontend/.eslintrc.cjs | |
parent | b4eb3a5d37ab7f8de09ee699d4695ec0c1a54e57 (diff) | |
download | hircine-9e4f47b3dbc64d9328f3d7532ecfe0cd9432f21c.tar.gz |
backend/lint: Ignore SIM102 and SIM108
SIM102 is "collapsible-if", which we always follow except a few specific
cases where we believe nested ifs are easier to read. Since we'd have to
manually ignore all those instances, disable the whole rule instead.
SIM108 is "if-else-block-instead-of-if-exp" which suggests the use of
the ternary operator instead of an if/else block. We generally dislike
how the ternary operator is less readable than a simple if/else block,
so we disable this rule.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions