This commit is contained in:
@@ -10,7 +10,12 @@ steps:
|
||||
image: node:latest
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn lint
|
||||
- yarn lint .
|
||||
- name: Prettier
|
||||
image: node:latest
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn prettier
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"format": "prettier:fix && lint:fix",
|
||||
"lint": "eslint . --ext .js",
|
||||
"lint": "eslint --ext .ts,.tsx lib/",
|
||||
"lint:fix": "eslint --fix --ext .ts,.tsx lib/",
|
||||
"prettier": "prettier --check 'lib/**/*.ts'",
|
||||
"prettier:fix": "prettier --write 'lib/**/*.ts'",
|
||||
"serve": "ts-node src/server.ts",
|
||||
"start": "nodemon"
|
||||
|
||||
Reference in New Issue
Block a user