Skip to content

Commit 0c30f02

Browse files
authored
Merge pull request #9 from bloq/minor-improvements-pt2
Minor improvements Part 2 on eth-rpc-cache
2 parents 6d90531 + b25cf30 commit 0c30f02

15 files changed

Lines changed: 976 additions & 245 deletions

File tree

.commitlintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["bloq"]
3+
}

.github/actions/setup-env/action.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/js-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ concurrency:
1010

1111
jobs:
1212
js-checks:
13-
uses: hemilabs/actions/.github/workflows/js-checks.yml@main
13+
uses: hemilabs/actions/.github/workflows/js-checks.yml@v1.0

.github/workflows/npm-publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: NPM Publish
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
npm-publish:
10+
permissions:
11+
contents: read
12+
id-token: write
13+
secrets: inherit
14+
uses: hemilabs/actions/.github/workflows/[email protected]

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lint-staged

.husky/pre-push

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm run deps:check && npm test

.lintstagedrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"!(*.{js,md,ts,tsx}|package.json)": ["prettier --ignore-unknown --write"],
3+
"*.{js,md,ts,tsx}": [
4+
"eslint --cache --fix --max-warnings 0",
5+
"prettier --write"
6+
],
7+
"package.json": ["better-sort-package-json", "prettier --write"]
8+
}

.prettierrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"arrowParens": "avoid",
3+
"quoteProps": "consistent",
4+
"semi": false,
5+
"singleQuote": true,
6+
"trailingComma": "none"
7+
}

0 commit comments

Comments
 (0)