Skip to content

Commit

Permalink
Move eslint config out of package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
gndelia committed Dec 26, 2024
1 parent 43e1080 commit 9a61241
Show file tree
Hide file tree
Showing 5 changed files with 215 additions and 1,063 deletions.
30 changes: 30 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"extends": ["bloq", "prettier"],
"ignorePatterns": ["_esm/*", "_cjs/*", "_types/*"],
"overrides": [
{
"extends": ["bloq/typescript", "prettier"],
"files": ["src/**/*.ts"]
},
{
"extends": ["bloq/markdown"],
"files": ["*.md"]
},
{
"extends": ["bloq/vitest", "prettier"],
"files": ["*.test.{js,ts}"]
}
],
"parserOptions": {
"sourceType": "module"
},
"root": true,
"rules": {
"camelcase": [
"warn",
{
"allow": ["after_txid"]
}
]
}
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ const balance = chain_stats.funded_txo_sum - chain_stats.spent_txo_sum;

NPM packages:

- https://github.com/mempool/mempool.js
- https://github.com/MiguelMedeiros/esplora-js
- [mempool.js](https://github.com/mempool/mempool.js)
- [esplora-js](https://github.com/MiguelMedeiros/esplora-js)

API docs:

- https://mempool.space/docs/api/rest
- https://github.com/Blockstream/esplora/blob/master/API.md
- [Mempool docs](https://mempool.space/docs/api/rest)
- [Esplora api](https://github.com/Blockstream/esplora/blob/master/API.md)
Loading

0 comments on commit 9a61241

Please sign in to comment.