Add eslint as linter and add linter workflow
Some checks failed
CI / CI (push) Successful in 18s
Lint Codebase / eslint (push) Failing after 12s

This commit is contained in:
SileNce5k 2024-11-05 05:26:48 +01:00
parent 85821f5fa3
commit bab508e4b9
Signed by: SileNce
GPG key ID: B0A142BB4291B204
4 changed files with 1191 additions and 5 deletions

22
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Lint Codebase
on: [push]
jobs:
eslint:
runs-on: node
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 'latest'
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npm run lint