Skip to content

Commit aadf78b

Browse files
committed
feat: add { dir: string } option for helper exports
Starting from now, instead of `modifyPackageJsonFile('./package.json', {})` you can write `modifyPackageJsonFile({ dir: '.' }, {})
1 parent f088019 commit aadf78b

File tree

7 files changed

+1803
-37
lines changed

7 files changed

+1803
-37
lines changed

.xo-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@zardoy/xo-config')()

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@
3535
"@types/node": "^15.14.9",
3636
"@types/parse-json": "^4.0.0",
3737
"@zardoy/tsconfig": "^1.2.2",
38+
"@zardoy/xo-config": "^0.1.0",
3839
"jest": "^27.2.0",
3940
"load-json-file": "^6.2.0",
4041
"nanoid": "^3.1.25",
4142
"ts-jest": "^27.0.5",
4243
"tsd": "^0.17.0",
43-
"typescript": "^4.4.3"
44+
"typescript": "^4.4.3",
45+
"xo": "^0.44.0"
4446
},
4547
"dependencies": {
4648
"detect-indent": "^6.1.0",

0 commit comments

Comments
 (0)