style: run prettier on pre-commit hook
This commit is contained in:
committed by
Stefan Rotsch
parent
b82d5a9da9
commit
9948712690
@@ -5,6 +5,7 @@ import highlight from "highlight.js";
|
||||
import { marked } from "marked";
|
||||
import * as path from "path";
|
||||
|
||||
import { ConfigData, publicUrl } from "../../src/config";
|
||||
import {
|
||||
FlagType,
|
||||
Item,
|
||||
@@ -15,8 +16,6 @@ import {
|
||||
import { appBuild } from "../paths";
|
||||
import { getAllMarkdownFiles, radarPath } from "./file";
|
||||
|
||||
import { ConfigData, publicUrl } from "../../src/config";
|
||||
|
||||
marked.setOptions({
|
||||
highlight: (code: any) => highlight.highlightAuto(code).value,
|
||||
});
|
||||
@@ -147,7 +146,7 @@ const addRevisionToItem = (
|
||||
body: "",
|
||||
info: "",
|
||||
angleFraction: Math.random(),
|
||||
radiusFraction: Math.random()
|
||||
radiusFraction: Math.random(),
|
||||
},
|
||||
revision: Revision
|
||||
): Item => {
|
||||
|
||||
Reference in New Issue
Block a user