Skip to content

Commit

Permalink
add in prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
meithebear committed Jun 10, 2024
1 parent 7dfce07 commit aa28c2b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ To request that we add a validator to the list,
[file an issue](https://github.com/berachain/default-lists/issues/new?assignees=&labels=validator+request&projects=&template=validator-request.md&title=Add+%7BVALIDATOR_NAME%7D).

## Contributing

- ℹ️ PLEASE ADD YOUR NEW ITEM TO THE TOP OF THE LIST TO AVOID JSON TRAILING COMMA ISSUE 🚀
- ℹ️ AFTER OPENING AN ISSUE, CREATE A BRANCH AND ADD YOUR CHANGES. WHEN READY, CREATE A PR AND LINK YOUR ISSUE IN THE PR 🚀
- ℹ️ PLEASE RUN `pnpm lint`BEFORE YOU PUSH 🚀

### Disclaimer

Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"test": "mocha",
"build": "rimraf build && mkdir -p build",
"prepublishOnly": "npm test && npm run build"
"prepublishOnly": "npm test && npm run build",
"lint": "prettier --write src/"
},
"files": [
"build/berachain-default.tokenlist.json"
Expand Down Expand Up @@ -34,5 +35,8 @@
"chai": "^4.2.0",
"mocha": "^8.0.1",
"rimraf": "^3.0.2"
},
"dependencies": {
"prettier": "^3.3.1"
}
}
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2505,6 +2505,11 @@ prettier@^3.0.1:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368"
integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==

prettier@^3.3.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.1.tgz#e68935518dd90bb7ec4821ba970e68f8de16e1ac"
integrity sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg==

process@^0.11.10:
version "0.11.10"
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
Expand Down

0 comments on commit aa28c2b

Please sign in to comment.