Skip to content

Commit 2b3ba83

Browse files
committed
Refactor package.json, tsconfig.json
1 parent 5fe3cd3 commit 2b3ba83

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -57,44 +57,44 @@
5757
"build": "tsc --build --clean && tsc --build && type-coverage",
5858
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
5959
"test-api": "node --conditions development test.js",
60-
"test-coverage": "c8 --check-coverage --100 --reporter lcov npm run test-api",
60+
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
6161
"test": "npm run build && npm run format && npm run test-coverage"
6262
},
6363
"prettier": {
64-
"tabWidth": 2,
65-
"useTabs": false,
66-
"singleQuote": true,
6764
"bracketSpacing": false,
6865
"semi": false,
69-
"trailingComma": "none"
70-
},
71-
"xo": {
72-
"prettier": true,
73-
"overrides": [
74-
{
75-
"files": [
76-
"test.js"
77-
],
78-
"rules": {
79-
"no-await-in-loop": 0,
80-
"no-script-url": 0
81-
}
82-
}
83-
]
66+
"singleQuote": true,
67+
"tabWidth": 2,
68+
"trailingComma": "none",
69+
"useTabs": false
8470
},
8571
"remarkConfig": {
8672
"plugins": [
87-
"preset-wooorm"
73+
"remark-preset-wooorm"
8874
]
8975
},
9076
"typeCoverage": {
9177
"atLeast": 100,
9278
"detail": true,
93-
"strict": true,
9479
"ignoreCatch": true,
9580
"#": "Couple of needed `any`s",
9681
"ignoreFiles": [
9782
"lib/index.d.ts"
98-
]
83+
],
84+
"strict": true
85+
},
86+
"xo": {
87+
"overrides": [
88+
{
89+
"files": [
90+
"test.js"
91+
],
92+
"rules": {
93+
"no-await-in-loop": 0,
94+
"no-script-url": 0
95+
}
96+
}
97+
],
98+
"prettier": true
9999
}
100100
}

0 commit comments

Comments
 (0)