Skip to content

Highlight %2$,d-style placeholders (#4049) #2539

Highlight %2$,d-style placeholders (#4049)

Highlight %2$,d-style placeholders (#4049) #2539

Workflow file for this run

name: JavaScript and Jinja linting
on:
push:
branches:
- main
paths:
- '**.jinja'
- '**.js'
- '**.html'
- '**.ts'
- '**.tsx'
- '**.css'
- package.json
- '.*eslint*'
- '.*prettier*'
- .github/workflows/js-lint.yml
pull_request:
branches:
- main
paths:
- '**.jinja'
- '**.js'
- '**.html'
- '**.ts'
- '**.tsx'
- '**.css'
- package.json
- '.*eslint*'
- '.*prettier*'
- .github/workflows/js-lint.yml
workflow_dispatch:
jobs:
eslint:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with: { node-version: '22' }
- name: Install dependencies
run: npm ci
- name: eslint
run: npm run eslint
prettier:
name: prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with: { node-version: '22' }
- name: Install dependencies
run: npm ci
- name: prettier
run: npm run check-prettier