Comments (7)
Doesn't something like this work?
npm run check -- src/foo.ts src/bar.ts ...
from gts.
Not really. I want to run npm run check
after npm test
, just like we set up with init.
from gts.
In my experiments it was around 24 seconds, not minutes :p. Here's a profile that shows something interesting:
Why so much idle?
I think it would be better to fix this idle time issue before diving into keeping track of changed files between runs.
from gts.
I am guilty of exaggerating. When you add up the many times I run tests, it hits minutes quick though 😂
from gts.
Okay, so the 'idle' time is actually clang format. It seems that checking format takes longer than running lint, even though clang-format is implemented in C++.
from gts.
Is it a design choice to suppress the details of tslint and/or clang-format errors?
clang-format reported errors... run `gts fix` to address.
I feel like a default "show all the errors" behavior would be preferable with an option to suppress?
from gts.
We have switched to prettier
via #259 (on the next
branch). If this is still an issue, it probably belongs on the prettier
repo.
@usergenic the details of the formatting errors are now shown in detail.
from gts.
Related Issues (20)
- feat: Option to add configuration to `package.json` rather than separate files
- (question) How am I to go about using 4.0.0? HOT 4
- ESLint couldn't find the config "ts-react-important-stuff"
- Should `eqeqeq` ignore nulls? HOT 1
- yarn3 gives `Unknown Syntax Error: Unsupported option name ("--ignore-scripts").` HOT 1
- with a new create-react-app project I'm getting a gpg error `failed to sign the data`
- Indent continuation lines is not enforced? HOT 1
- gts monorepo does not work with npm ? HOT 5
- 4.0.1 not release to npm registry ? HOT 1
- pnpm Issues with peer dependencies found HOT 1
- feat!: Set `no-floating-promises` to `error` HOT 4
- Drop support for Node.js 14 and 16 HOT 1
- Support for ESLint's New Flat Configs HOT 1
- Expose `--max-warnings` flag HOT 1
- feat!: Set `stripInternal` in `tsconfig-google.json` HOT 1
- Gts lint returning exit code 1 when using yarn 4.0.2 HOT 10
- Typescript version warning
- Create a pre-commit hook HOT 1
- Set up automated publishing for this library
- GTS scripts hang / dont progress HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gts.