Skip to content

Commit

Permalink
Merge pull request #381 from curvefi/lint-job
Browse files Browse the repository at this point in the history
chore: lint in GitHub actions
  • Loading branch information
DanielSchiavini authored Oct 8, 2024
2 parents cc9ed8e + ec70f36 commit 63be03c
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Lint
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: 20
cache: yarn
- run: yarn set version stable
- run: yarn install --immutable
- run: yarn lint
1 change: 1 addition & 0 deletions packages/curve-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"ethers": "^6.11.0"
},
"devDependencies": {
"eslint": "^8.57.1",
"eslint-config-custom": "*",
"tsconfig": "*"
}
Expand Down
1 change: 1 addition & 0 deletions packages/external-rewards/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "eslint \"**/*.ts*\""
},
"devDependencies": {
"eslint": "^8.57.1",
"eslint-config-custom": "*",
"tsconfig": "*"
}
Expand Down
1 change: 1 addition & 0 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/styled-components": "5.1.14",
"eslint": "^8.57.1",
"eslint-config-custom": "*",
"tsconfig": "*"
},
Expand Down
3 changes: 3 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11492,6 +11492,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "curve-lib@workspace:packages/curve-lib"
dependencies:
eslint: "npm:^8.57.1"
eslint-config-custom: "npm:*"
ethers: "npm:^6.11.0"
tsconfig: "npm:*"
Expand Down Expand Up @@ -13722,6 +13723,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "external-rewards@workspace:packages/external-rewards"
dependencies:
eslint: "npm:^8.57.1"
eslint-config-custom: "npm:*"
tsconfig: "npm:*"
languageName: unknown
Expand Down Expand Up @@ -21407,6 +21409,7 @@ __metadata:
"@types/react-dom": "npm:^18.2.0"
"@types/styled-components": "npm:5.1.14"
bignumber.js: "npm:^9.0.1"
eslint: "npm:^8.57.1"
eslint-config-custom: "npm:*"
ethers: "npm:^6.11.0"
lodash: "npm:4.17.21"
Expand Down

0 comments on commit 63be03c

Please sign in to comment.