mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
ci: Switch ESLint rule eqeqeq to smart mode
This allows comparisons like != null and == null while still erroring on other usages of == and !=. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2363>
This commit is contained in:
parent
4257fc9522
commit
9ebde6ca2d
1 changed files with 3 additions and 0 deletions
|
|
@ -4,6 +4,9 @@ rules:
|
|||
- properties: never
|
||||
allow: [^vfunc_, ^on_]
|
||||
consistent-return: error
|
||||
eqeqeq:
|
||||
- error
|
||||
- smart
|
||||
key-spacing:
|
||||
- error
|
||||
- mode: minimum
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue