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 - yarn test
depends_on: depends_on:
- build - build
- name: lint
image: node
commands:
- yarn lint
depends_on:
- build
trigger: trigger:
branch: branch:

1
.eslintignore Normal file
View file

@ -0,0 +1 @@
dist/

View file

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

View file

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