Second place is just the first place loser. β Dale Earnhardt
Disallow bad eslint configs (monopoly
) β
πΌ This rule is enabled in the following configs: π all
, β
recommended
.
π§ This rule is automatically fixable by the --fix
CLI option.
π Rule details β
Ensures that the only allowed ESLint configuration is eslint-plugin-ninja
. The use of any other configuration is disallowed. Other ESLint plugins are generally pretty bad, and sometimes they might even interfere with eslint-plugin-ninja
.
π§ Config β
js
{ rules: { 'ninja/monopoly': 2 } }