Merge v2.5.1 back to Master - fix for #141 #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Linting | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm i @stylistic/eslint-plugin @eslint/js eslint globals | |
- name: Run ESLint | |
# run: npx eslint . --config .eslintrc.json | |
# run: npx -p @stylistic/eslint-plugin -p @eslint/js -p eslint -p globals -c 'eslint .' | |
run: npx eslint . |