-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TSLint not hooked into build? #6
Comments
(I'm finding examples that use gulp, but that feels like it might be overkill.) |
Here's what I've come up with so far for my own project, based on some other examples I've seen out in the wild (e.g. TSLint itself): "scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "tslint --project .",
"prettify": "prettier --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"lint-fix": "tslint --project . --fix",
"coverage": "CI=true react-scripts test --coverage",
"verify": "npm-run-all lint build coverage"
}, Then customize the CI config to run the language: node_js
script:
- npm run verify |
- Invoke TSLint - Invoke tsc to type-check tests (facebook/create-react-app#5626)
Ouch, good catch, thank you! 😬 I integrated I did not integrate your |
I noticed that a fresh project created through |
The build is passing, but when I run
npx tslint --project .
, I get:Is there a way to hook TSLint into the build?
The text was updated successfully, but these errors were encountered: