Setup linting
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ethan Lane 2023-04-21 17:52:56 +01:00
parent 9b73db9df3
commit c6eebcd819
4 changed files with 10 additions and 2 deletions

View file

@ -13,6 +13,12 @@ steps:
- yarn test
depends_on:
- build
- name: lint
image: node
commands:
- yarn lint
depends_on:
- build
trigger:
branch:

1
.eslintignore Normal file
View file

@ -0,0 +1 @@
dist/

View file

@ -44,6 +44,7 @@
"module": "writable",
"require": "writable",
"process": "writable",
"console": "writable"
"console": "writable",
"jest": "writable"
}
}

View file

@ -24,7 +24,7 @@
"build": "tsc",
"start": "ts-node app.ts",
"test": "jest",
"lint": "eslint"
"lint": "eslint ."
},
"bugs": {
"url": "https://gitea.vylpes.xyz/RabbitLabs/random-bunny/issues",