Skip to content

chore(deps): update dependency eslint-plugin-unused-imports to v4 - autoclosed #991

chore(deps): update dependency eslint-plugin-unused-imports to v4 - autoclosed

chore(deps): update dependency eslint-plugin-unused-imports to v4 - autoclosed #991

Workflow file for this run

name: ESLint
on:
push:
paths:
- "src/**"
- ".eslintrc.*"
- ".prettierrc"
- ".eslintignore"
- ".github/workflows/lint.yml"
- "package.json"
- "yarn.lock"
pull_request:
workflow_dispatch:
jobs:
lint:
name: Lint source code
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 6.20.3
- name: Install Node v20
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Run ESLint
run: yarn lint:fix
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
add: src
message: "chore(lint): auto-lint source code"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}