UNPKG

eslint-interactive

Version:

The CLI tool to run `eslint --fix` for each rule

8 lines 275 B
import { notEmpty } from '../util/type-check.js'; /** * Create fix to apply auto-fixes. */ export function createFixToApplyAutoFixes(context, _args) { return context.messages.map((message) => message.fix).filter(notEmpty); } //# sourceMappingURL=apply-auto-fixes.js.map