Add eslint (#12)

* Done !

Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>

* ACT doesn't wanna work so I push

Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>

* Continued work on ESLint

Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>

* Two files remaining

Signed-off-by: Avior <github@avior.me>

* Fixed set cards not found when using ids

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2021-06-29 20:41:37 +00:00
committed by GitHub
parent a4d9f8f5b2
commit dd0a8731ea
22 changed files with 1626 additions and 315 deletions

View File

@ -16,6 +16,27 @@ on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/checkout@v2
with:
repository: tcgdex/cards-database
path: ./db
persist-credentials: false
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Lint
run: yarn && yarn lint
build:
runs-on: ubuntu-latest