npm install -g compare-eslint-configs
compare-eslint-configs compare .eslintrc new.eslintrc
Or simply:
npx compare-eslint-configs compare .eslintrc new.eslintrc
Found by running compare-eslint-configs --help
Found by running compare-eslint-configs <command> --help
, eg: compare-eslint-configs compare --help
npx compare-eslint-configs compare new.eslintrc -t cli.js
npx compare-eslint-configs compare new.eslintrc -t cli.js -m
Only active in some:
- new.eslintrc
Mixed severities:
- func-style
- warn: .eslintrc
- error: new.eslintrc
- unicorn/prefer-event-target
- warn: .eslintrc
- error: new.eslintrc
Mixed configs where otherwise okay:
- no-console
- new.eslintrc:
[{"allow":["warn","error"]}]
@voxpelli/eslint-formatter-summary
– can summarize errors/warnings by ESLint rule + print that list as markdown