fix(linter): allow [...new Array(n)]
in no-useless-spread (#2124)
#8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update lint_rules list | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'crates/oxc_linter/**' | |
- 'tasks/lint_rules/**' | |
jobs: | |
lint_rules: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout Branch | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: moonrepo/setup-rust@v1 # Cache everything to speed up compilation | |
with: | |
cache-base: main | |
- name: Build lint_rules task | |
run: cargo build -p lint_rules | |
- name: Update eslint | |
run: cargo run -p lint_rules eslint --update |