feat: add DISABLE_NO_UNUSED_VARS env variable to disable no-unused-va… #1228
Workflow file for this run
This file contains hidden or 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 | |
| on: [push, pull_request] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: '16' | |
| cache: 'npm' | |
| - name: Install | |
| run: npm ci --prefer-offline | |
| - name: Alex | |
| run: npm run alex | |
| - name: Prettier | |
| run: npm run prettier -- --list-different | |
| - name: Eslint | |
| run: npm run eslint -- --max-warnings 0 |