Mercurial > hg
comparison .jshintrc @ 46467:45c3a263d5d1
engine: 'if not, else' -> 'if, else'
I personally feel that
```
if x:
pass
else:
pass
```
is easier to read and edit than
```
if not x:
pass
else:
pass
```
Next patches will add one more if-else clause.
Differential Revision: https://phab.mercurial-scm.org/D9931
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 31 Jan 2021 23:13:08 +0530 |
parents | bdd2e18b54c5 |
children |
comparison
equal
deleted
inserted
replaced
46466:3e3b81b6e7da | 46467:45c3a263d5d1 |
---|