Skip to content

fix: eslintInstance may not be initialized when calling lintFiles in the worker #12

fix: eslintInstance may not be initialized when calling lintFiles in the worker

fix: eslintInstance may not be initialized when calling lintFiles in the worker #12

Workflow file for this run

# https://github.com/unocss/unocss/blob/fe83a90b59cf4599be57ea825166bb74d92b104c/.github/workflows/autofix.yml
name: autofix.ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
autofix:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
registry-url: https://registry.npmjs.org
- name: Setup corepack
run: corepack enable
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Check
run: pnpm check
- name: Autofix
uses: autofix-ci/action@v1