Skip to content

Commit 63be03c

Browse files
Merge pull request #381 from curvefi/lint-job
chore: lint in GitHub actions
2 parents cc9ed8e + ec70f36 commit 63be03c

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Lint
2+
on: [push]
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-node@v2
9+
with:
10+
node-version: 20
11+
cache: yarn
12+
- run: yarn set version stable
13+
- run: yarn install --immutable
14+
- run: yarn lint

packages/curve-lib/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"ethers": "^6.11.0"
1313
},
1414
"devDependencies": {
15+
"eslint": "^8.57.1",
1516
"eslint-config-custom": "*",
1617
"tsconfig": "*"
1718
}

packages/external-rewards/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"lint": "eslint \"**/*.ts*\""
1010
},
1111
"devDependencies": {
12+
"eslint": "^8.57.1",
1213
"eslint-config-custom": "*",
1314
"tsconfig": "*"
1415
}

packages/ui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@types/react": "^18.2.0",
2323
"@types/react-dom": "^18.2.0",
2424
"@types/styled-components": "5.1.14",
25+
"eslint": "^8.57.1",
2526
"eslint-config-custom": "*",
2627
"tsconfig": "*"
2728
},

yarn.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11492,6 +11492,7 @@ __metadata:
1149211492
version: 0.0.0-use.local
1149311493
resolution: "curve-lib@workspace:packages/curve-lib"
1149411494
dependencies:
11495+
eslint: "npm:^8.57.1"
1149511496
eslint-config-custom: "npm:*"
1149611497
ethers: "npm:^6.11.0"
1149711498
tsconfig: "npm:*"
@@ -13722,6 +13723,7 @@ __metadata:
1372213723
version: 0.0.0-use.local
1372313724
resolution: "external-rewards@workspace:packages/external-rewards"
1372413725
dependencies:
13726+
eslint: "npm:^8.57.1"
1372513727
eslint-config-custom: "npm:*"
1372613728
tsconfig: "npm:*"
1372713729
languageName: unknown
@@ -21407,6 +21409,7 @@ __metadata:
2140721409
"@types/react-dom": "npm:^18.2.0"
2140821410
"@types/styled-components": "npm:5.1.14"
2140921411
bignumber.js: "npm:^9.0.1"
21412+
eslint: "npm:^8.57.1"
2141021413
eslint-config-custom: "npm:*"
2141121414
ethers: "npm:^6.11.0"
2141221415
lodash: "npm:4.17.21"

0 commit comments

Comments
 (0)