This commit is contained in:
Colin McDonnell 2022-03-19 15:35:16 -07:00
parent 0dbd4ec815
commit ac187fa121
7 changed files with 37 additions and 12 deletions

View File

@ -1,4 +0,0 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged

View File

@ -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

View File

@ -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"

View File

@ -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"
]
}

View File

@ -7,5 +7,8 @@
"declarationMap": false,
"sourceMap": false
},
"exclude": ["./src/**/__tests__", "./src/playground.ts"]
"exclude": [
"./src/**/__tests__",
"./src/playground.ts"
]
}

View File

@ -7,5 +7,8 @@
"declarationMap": false,
"sourceMap": false
},
"exclude": ["./src/**/__tests__", "./src/playground.ts"]
"exclude": [
"./src/**/__tests__",
"./src/playground.ts"
]
}

View File

@ -6,5 +6,8 @@
"declarationMap": true,
"emitDeclarationOnly": true
},
"exclude": ["./src/**/__tests__", "./src/playground.ts"]
"exclude": [
"./src/**/__tests__",
"./src/playground.ts"
]
}