Skip to content

build(deps-dev): bump eslint from 8.57.0 to 9.10.0 #875

build(deps-dev): bump eslint from 8.57.0 to 9.10.0

build(deps-dev): bump eslint from 8.57.0 to 9.10.0 #875

Workflow file for this run

name: Lint Theme
on:
pull_request:
push:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Cache Node modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- run: npm install
- run: pip install djlint
- run: npx eslint .
- run: npx prettier -c .
- run: djlint . --lint