Add Roact exhaustive dependencies lint #760
Workflow file for this run
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: Lint selene-vscode | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- name: Install dependencies | |
run: npm ci | |
working-directory: selene-vscode | |
- name: Run ESLint | |
run: ./node_modules/.bin/eslint src/ | |
working-directory: selene-vscode | |
- name: Prettier | |
run: ./node_modules/.bin/prettier --check src | |
working-directory: selene-vscode |