Skip to content

fix(dev): bump eslint from 8.57.0 to 9.13.0 #238

fix(dev): bump eslint from 8.57.0 to 9.13.0

fix(dev): bump eslint from 8.57.0 to 9.13.0 #238

Workflow file for this run

name: Prevent new violations
on:
pull_request:
jobs:
cherry_diff:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0 # fetches all commits from all branches
ref: ${{ github.head_ref }} # checks out the branch that triggered the workflow
- name: Install dependencies
run: npm install
- name: Raise if new JavaScript code is added
# This command will fail if the number of lines of code in JavaScript files has increased
# in the current branch compared to the base branch, encouraging developers to contribute to migrating to TS.
run: npm run cherry -- diff --metric='[loc] JavaScript' --error-if-increase --quiet