eslint-plugin-optimics
v0.8.0
Published
Additional Optimics rules
Downloads
177
Readme
Optimics eslint plugin
This plugin was created to match extra rules that are not available in classic eslint rules.
Installation
npm install --save-dev eslint-plugin-optimics
Configuration
Add this to your .eslintrc
{
"plugins": ["optimics"],
"extends": ["plugin:optimics/recommended"]
}
Rules
boolean-shortcuts
Tracks incomprehensible shortcuts like!0
, !1
, !false
, !true
and
replaces them with the default boolean notations: true
or false
.