mirror of https://github.com/cupcakearmy/zod.git
Reformat
This commit is contained in:
parent
0dbd4ec815
commit
ac187fa121
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx lint-staged
|
|
@ -1 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="116" height="20" role="img" aria-label="Coverage: 95.25%"><title>Coverage: 95.25%</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="116" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="63" height="20" fill="#555"/><rect x="63" width="53" height="20" fill="#4c1"/><rect width="116" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="325" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="530">Coverage</text><text x="325" y="140" transform="scale(.1)" fill="#fff" textLength="530">Coverage</text><text aria-hidden="true" x="885" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="430">95.25%</text><text x="885" y="140" transform="scale(.1)" fill="#fff" textLength="430">95.25%</text></g></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="116" height="20" role="img" aria-label="Coverage: 95.25%"><title>Coverage: 95.25%</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="116" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="63" height="20" fill="#555"/><rect x="63" width="53" height="20" fill="#4c1"/><rect width="116" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="325" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="530">Coverage</text><text x="325" y="140" transform="scale(.1)" fill="#fff" textLength="530">Coverage</text><text aria-hidden="true" x="885" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="430">95.25%</text><text x="885" y="140" transform="scale(.1)" fill="#fff" textLength="430">95.25%</text></g></svg>
|
||||
|
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -4,8 +4,19 @@
|
|||
"^.+\\.tsx?$": "ts-jest"
|
||||
},
|
||||
"testRegex": "src/.*\\.test\\.ts$",
|
||||
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
|
||||
"coverageReporters": ["json-summary", "text", "lcov"],
|
||||
"moduleFileExtensions": [
|
||||
"ts",
|
||||
"tsx",
|
||||
"js",
|
||||
"jsx",
|
||||
"json",
|
||||
"node"
|
||||
],
|
||||
"coverageReporters": [
|
||||
"json-summary",
|
||||
"text",
|
||||
"lcov"
|
||||
],
|
||||
"globals": {
|
||||
"ts-jest": {
|
||||
"tsconfig": "tsconfig.json"
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"lib": ["es5", "es6", "es7", "esnext", "dom"],
|
||||
"lib": [
|
||||
"es5",
|
||||
"es6",
|
||||
"es7",
|
||||
"esnext",
|
||||
"dom"
|
||||
],
|
||||
"target": "es2018",
|
||||
"removeComments": false,
|
||||
"esModuleInterop": true,
|
||||
|
@ -16,5 +22,8 @@
|
|||
"downlevelIteration": true,
|
||||
"isolatedModules": true
|
||||
},
|
||||
"include": ["./src/**/*", "./.eslintrc.js"]
|
||||
"include": [
|
||||
"./src/**/*",
|
||||
"./.eslintrc.js"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -7,5 +7,8 @@
|
|||
"declarationMap": false,
|
||||
"sourceMap": false
|
||||
},
|
||||
"exclude": ["./src/**/__tests__", "./src/playground.ts"]
|
||||
"exclude": [
|
||||
"./src/**/__tests__",
|
||||
"./src/playground.ts"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -7,5 +7,8 @@
|
|||
"declarationMap": false,
|
||||
"sourceMap": false
|
||||
},
|
||||
"exclude": ["./src/**/__tests__", "./src/playground.ts"]
|
||||
"exclude": [
|
||||
"./src/**/__tests__",
|
||||
"./src/playground.ts"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -6,5 +6,8 @@
|
|||
"declarationMap": true,
|
||||
"emitDeclarationOnly": true
|
||||
},
|
||||
"exclude": ["./src/**/__tests__", "./src/playground.ts"]
|
||||
"exclude": [
|
||||
"./src/**/__tests__",
|
||||
"./src/playground.ts"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue