Skip to content

Commit

Permalink
ci: prettier cmd update (de-dot-fi#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
witem authored Jan 31, 2023
1 parent 31810e8 commit fe9a6e5
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 4 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"packageManager": "[email protected]",
"private": true,
"lint-staged": {
"*.json": "yarn dlx prettier --write",
"*.json": "yarn prettier --write",
"*.ts": [
"yarn dlx prettier --write",
"yarn prettier --write",
"yarn lint"
]
},
Expand All @@ -18,15 +18,17 @@
"workshop": "yarn workspace @defiyield/workshop",
"sandbox": "yarn workspace @defiyield/sandbox",
"postinstall": "husky install",
"format": "yarn dlx prettier \"**/*.(json|ts)\" --write",
"lint": "yarn dlx eslint --fix"
"format": "prettier \"**/*.(json|ts)\" --write",
"lint": "eslint --fix"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"commitlint": "^17.4.2",
"eslint": "^8.33.0",
"husky": "^8.0.1",
"lint-staged": "^13.1.0",
"prettier": "^2.8.3",
"typescript": "^4.8.4"
},
"dependencies": {
Expand Down
97 changes: 97 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,23 @@ __metadata:
languageName: node
linkType: hard

"@eslint/eslintrc@npm:^1.4.1":
version: 1.4.1
resolution: "@eslint/eslintrc@npm:1.4.1"
dependencies:
ajv: ^6.12.4
debug: ^4.3.2
espree: ^9.4.0
globals: ^13.19.0
ignore: ^5.2.0
import-fresh: ^3.2.1
js-yaml: ^4.1.0
minimatch: ^3.1.2
strip-json-comments: ^3.1.1
checksum: cd3e5a8683db604739938b1c1c8b77927dc04fce3e28e0c88e7f2cd4900b89466baf83dfbad76b2b9e4d2746abdd00dd3f9da544d3e311633d8693f327d04cd7
languageName: node
linkType: hard

"@ethersproject/abi@npm:5.7.0, @ethersproject/abi@npm:^5.0.0, @ethersproject/abi@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/abi@npm:5.7.0"
Expand Down Expand Up @@ -1144,6 +1161,17 @@ __metadata:
languageName: node
linkType: hard

"@humanwhocodes/config-array@npm:^0.11.8":
version: 0.11.8
resolution: "@humanwhocodes/config-array@npm:0.11.8"
dependencies:
"@humanwhocodes/object-schema": ^1.2.1
debug: ^4.1.1
minimatch: ^3.0.5
checksum: 0fd6b3c54f1674ce0a224df09b9c2f9846d20b9e54fabae1281ecfc04f2e6ad69bf19e1d6af6a28f88e8aa3990168b6cb9e1ef755868c3256a630605ec2cb1d3
languageName: node
linkType: hard

"@humanwhocodes/module-importer@npm:^1.0.1":
version: 1.0.1
resolution: "@humanwhocodes/module-importer@npm:1.0.1"
Expand Down Expand Up @@ -4042,6 +4070,55 @@ __metadata:
languageName: node
linkType: hard

"eslint@npm:^8.33.0":
version: 8.33.0
resolution: "eslint@npm:8.33.0"
dependencies:
"@eslint/eslintrc": ^1.4.1
"@humanwhocodes/config-array": ^0.11.8
"@humanwhocodes/module-importer": ^1.0.1
"@nodelib/fs.walk": ^1.2.8
ajv: ^6.10.0
chalk: ^4.0.0
cross-spawn: ^7.0.2
debug: ^4.3.2
doctrine: ^3.0.0
escape-string-regexp: ^4.0.0
eslint-scope: ^7.1.1
eslint-utils: ^3.0.0
eslint-visitor-keys: ^3.3.0
espree: ^9.4.0
esquery: ^1.4.0
esutils: ^2.0.2
fast-deep-equal: ^3.1.3
file-entry-cache: ^6.0.1
find-up: ^5.0.0
glob-parent: ^6.0.2
globals: ^13.19.0
grapheme-splitter: ^1.0.4
ignore: ^5.2.0
import-fresh: ^3.0.0
imurmurhash: ^0.1.4
is-glob: ^4.0.0
is-path-inside: ^3.0.3
js-sdsl: ^4.1.4
js-yaml: ^4.1.0
json-stable-stringify-without-jsonify: ^1.0.1
levn: ^0.4.1
lodash.merge: ^4.6.2
minimatch: ^3.1.2
natural-compare: ^1.4.0
optionator: ^0.9.1
regexpp: ^3.2.0
strip-ansi: ^6.0.1
strip-json-comments: ^3.1.0
text-table: ^0.2.0
bin:
eslint: bin/eslint.js
checksum: 727e63ab8b7acf281442323c5971f6afdd5b656fbcebc4476cf54e35af51b2f180617433fc5e1952f0449ca3f43a905527f9407ea4b8a7ea7562fc9c3f278d4c
languageName: node
linkType: hard

"espree@npm:^9.4.0":
version: 9.4.1
resolution: "espree@npm:9.4.1"
Expand Down Expand Up @@ -4623,6 +4700,15 @@ __metadata:
languageName: node
linkType: hard

"globals@npm:^13.19.0":
version: 13.20.0
resolution: "globals@npm:13.20.0"
dependencies:
type-fest: ^0.20.2
checksum: ad1ecf914bd051325faad281d02ea2c0b1df5d01bd94d368dcc5513340eac41d14b3c61af325768e3c7f8d44576e72780ec0b6f2d366121f8eec6e03c3a3b97a
languageName: node
linkType: hard

"globby@npm:^11.1.0":
version: 11.1.0
resolution: "globby@npm:11.1.0"
Expand Down Expand Up @@ -5949,8 +6035,10 @@ __metadata:
"@commitlint/cli": ^17.1.2
"@commitlint/config-conventional": ^17.1.0
commitlint: ^17.4.2
eslint: ^8.33.0
husky: ^8.0.1
lint-staged: ^13.1.0
prettier: ^2.8.3
rc-motion: ^2.6.2
rc-trigger: ^5.3.3
typescript: ^4.8.4
Expand Down Expand Up @@ -6747,6 +6835,15 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:^2.8.3":
version: 2.8.3
resolution: "prettier@npm:2.8.3"
bin:
prettier: bin-prettier.js
checksum: 92f2ceb522d454370e02082aa74ad27388672f7cee8975028b59517c069fe643bdc73e322675c8faf2ff173d7a626d1a6389f26b474000308e793aa25fff46e5
languageName: node
linkType: hard

"process-warning@npm:^2.0.0":
version: 2.0.0
resolution: "process-warning@npm:2.0.0"
Expand Down

0 comments on commit fe9a6e5

Please sign in to comment.