Commit 2d1bc819 authored by David Sveningsson's avatar David Sveningsson
Browse files

fix(deps): replace dependency on `eslint` with `@html-validate/stylish`

parent d6553bbd
Pipeline #216330569 passed with stages
in 9 minutes and 54 seconds
This diff is collapsed.
import stylishImpl from "@html-validate/stylish";
import { Result } from "../reporter";
import { Formatter } from "./formatter";
const stylish = require("eslint/lib/cli-engine/formatters/stylish");
function stylish(results: Result[]): string {
return stylishImpl(
results.map((it) => ({
...it,
fixableErrorCount: 0,
fixableWarningCount: 0,
}))
);
}
const formatter: Formatter = stylish;
export default formatter;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment