mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 21:44:47 +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:
1 parent
0c815fde91
commit
084dc0be08
157 files changed
+737
-666
No files matched your search
@@ -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