Open phwt opened 3 years ago
What does your build script in package.json
do?
What does your build script in
package.json
do?
It generates an OpenAPI specification with tsoa and then starts compilation with tsc
"build": "npm run generate-spec && tsc",
"generate-spec": "tsoa spec"
Describe the bug
I am trying to configure the API project built with TypeScript with ESLint and Prettier but after I add it the "Build and Deploy Job" is failed with this message:
To Reproduce Here are the steps I've taken on setting up the ESLint and Prettier:
eslint --init
to generate.eslintrc.js
Difference in project files
.eslintrc.js
package.json
Expected behavior
Additional context
func new
eslint .
before triggering the job to ensure that the error does not relate to the code styleseslint
andprettier
but the reason I'm not using them in the.eslintrc.js
is also to ensure that the error does not relate to the code styles (enforced by the plugins)