CI: add eslint workflow in the CI (#3602)

Signed-off-by: kushthedude <kushthedude@gmail.com>
This commit is contained in:
Kush Trivedi 2021-02-10 18:48:49 +05:30 committed by GitHub
parent deb4b86451
commit f2d2be1356
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -133,7 +133,7 @@ jobs:
- name: Lint with Prettier
run: |
cd ./main/tests/cypress
yarn check-lint
yarn lint
- name: Test with Cypress on ${{ matrix.browser }}
run: |

View File

@ -7,8 +7,8 @@
"private": true,
"scripts": {
"test": "cypress run --browser electron --headless --quiet",
"lint": "prettier --write .",
"check-lint": "prettier --check ."
"fix-lint": "prettier --write . && eslint --fix .",
"lint": "prettier --check . && eslint ."
},
"dependencies": {
"cypress": "6.4.0",