prettier tailwind

This commit is contained in:
Timothy Lin committed 2022-01-31 23:58:10 +08:00
1 parent 7bf39de73c
commit 2eaac5ae31
26 files changed
+92 -82

No files matched your search

+4 -1
View File
@@ -1,7 +1,10 @@
import fs from 'fs'
import path from 'path'
const pipe = (...fns) => (x) => fns.reduce((v, f) => f(v), x)
const pipe =
(...fns) =>
(x) =>
fns.reduce((v, f) => f(v), x)
const flattenArray = (input) =>
input.reduce((acc, item) => [...acc, ...(Array.isArray(item) ? item : [item])], [])