mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-29 09:50:20 +00:00
Add ESLint (#941)
* Add eslint, switch to lint-staged for precommit * Fix all ESLint errors * Update GH workflow to check prettier and eslint
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -24,5 +24,7 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- run: npx eslint .
|
||||
- run: npx prettier --check .
|
||||
- run: npm run build --if-present
|
||||
- run: npm run test --if-present
|
||||
Reference in New Issue
Block a user