oxc/.github/workflows/lint-rules.yml
Yuji Sugiura cba8a4c131
feat(tasks): Enable tasks/lint_rules(JS ver) (#2177)
- [x] Remove old task(Rust ver)
- [x] Migrate to new task(JS ver)
- [x] Confirm CI works w/o `--output`
-
https://github.com/oxc-project/oxc/actions/runs/7663961642/job/20887579432?pr=2177
- [x] Confirm CI works w/ fake issue no
  - https://github.com/oxc-project/oxc/issues/2117
- [x] Enable

- - -

I've noticed that

- eslint/no-extra-semi
- eslint/no-mixed-spaces-and-tabs

are maked as deprecated and also recommended.

This is ESLint side
[issue](https://github.com/eslint/eslint/pull/17696#issuecomment-1792452766)
and will fix after v9.
2024-01-26 15:45:05 +08:00

30 lines
641 B
YAML

name: Update implementation status of all linter plugins
on:
push:
branches:
- main
paths:
- 'crates/oxc_linter/**'
- 'tasks/lint_rules/**'
jobs:
lint_rules:
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install latest plugins
working-directory: tasks/lint_rules
run: npm install
- name: Run task
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: node ./tasks/lint_rules --update