dysnomia
dysnomia copied to clipboard
(RFC) refactor: new linting rules
This PR tweaks the linting rules mainly to help readability and enforce consistency across the Dysnomia codebase.
What's changed as of now
-
strict
is now enforced as an error - this means that strict mode will be consistently required -
eqeqeq
is also now enforced as an error to help avoid using loose==
which is slower (== null
is still allowed) - spacing between keywords is now enforced - this is mainly to combat these
} catch{
constructs introduced in #46, secondly because I like it more - anything else? open to comments and suggestions on what rules to enable/disable/fine-tune