Skip to content

Update sniff to fruther improve whitespace consistency after closing … #13009

Update sniff to fruther improve whitespace consistency after closing …

Update sniff to fruther improve whitespace consistency after closing … #13009

Workflow file for this run

name: Inspections
on:
push:
branches:
- master
pull_request:
types: [opened, labeled, synchronize]
jobs:
runESLintInspection:
if: contains(github.event.pull_request.labels.*.name, 'run analysis')
name: Run ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: "20.10.0"
- name: Cache dependencies
id: cache-npm
uses: actions/cache@v4
with:
path: |
~/.npm
node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Install dependencies
if: steps.cache-npm.outputs.cache-hit != 'true'
run: npm ci --include=dev
- name: Run ESLint
run: ./node_modules/.bin/eslint .