Skip to content

Commit

Permalink
Applying same ESlint rules as uniswap
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandro committed Mar 16, 2022
1 parent 24504df commit 24dd3b8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,15 @@ jobs:
- name: Run linters
uses: wearerequired/lint-action@v1
with:
eslint: true
prettier: true
github_token: ${{ secrets.github_token }}
eslint: true
eslint_args: "-c .eslintrc.json"
auto_fix: ${{ github.event_name == 'pull_request' }}
prettier: true

- name: Run eslint
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login != github.repository_owner }}
run: yarn eslint .

build:
name: Build apps
Expand Down

0 comments on commit 24dd3b8

Please sign in to comment.