Skip to content

Merge pull request #1150 from jhuopensource/rel/2025_10B #1753

Merge pull request #1150 from jhuopensource/rel/2025_10B

Merge pull request #1150 from jhuopensource/rel/2025_10B #1753

Workflow file for this run

# Runs the frontend linter, Prettier and ESLint
name: TSLint
on:
push:
branches:
- prod
- develop
- feature/dark-mode-timetable
pull_request:
branches:
- prod
- develop
- feature/dark-mode-timetable
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
cache: "npm"
- name: Install Dependencies
run: npm install
- name: Run Prettier
run: npx prettier "**/*.{js,jsx,ts,tsx}" --check
- name: Run ESLint
run: npx eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0