Create infokatConfig.js #27
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 | |
on: | |
push: | |
branches: [dev] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
- name: Install ESLint | |
run: npm install @eslint/js --save-dev | |
- name: Install globals | |
run: npm install globals | |
- name: Run ESLint with recommended rules | |
run: npx eslint . |