Skip to content

Commit ac0a86a

Browse files
committed
remove glob from lefthook
1 parent 784922b commit ac0a86a

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

lefthook.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ pre-commit:
22
parallel: true
33
jobs:
44
- run: pnpm format {staged_files}
5-
glob: "*"

playground/tsdown.config.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
import pluginBabel from '@rollup/plugin-babel'
2-
import { defineConfig } from 'tsdown'
1+
import pluginBabel from "@rollup/plugin-babel";
2+
import { defineConfig } from "tsdown";
33

44
export default defineConfig({
5-
entry: ['./src/Playground.tsx'],
6-
platform: 'neutral',
5+
entry: ["./src/Playground.tsx"],
6+
platform: "neutral",
77
dts: true,
88
plugins: [
99
pluginBabel({
10-
babelHelpers: 'bundled',
10+
babelHelpers: "bundled",
1111
parserOpts: {
12-
sourceType: 'module',
13-
plugins: ['jsx', 'typescript'],
12+
sourceType: "module",
13+
plugins: ["jsx", "typescript"],
1414
},
15-
plugins: ['babel-plugin-react-compiler'],
16-
extensions: ['.js', '.jsx', '.ts', '.tsx'],
15+
plugins: ["babel-plugin-react-compiler"],
16+
extensions: [".js", ".jsx", ".ts", ".tsx"],
1717
}),
1818
],
19-
})
19+
});

0 commit comments

Comments
 (0)