Comments (10)
Does it happen only when you explicitly pass the files?
from gts.
It seems to only happen when I pass arguments in the folder/*.ext format. Running gts check lib/discovery.ts
works fine.
Same bug applies to fix
.
from gts.
Are you on windows?
from gts.
lol no
from gts.
This sounds like the wildcard expansion doesn't happen from the shell. Let me take a look.
from gts.
Now I know why this happens. It's because the shell expansion for lib/*.ts
also includes those *.d.ts
files.
from gts.
I'm not sure what's the correct fix here. We could change so that
gts
ignores*.d.ts
files- Discourage people from using wildcards
Maybe 1 is better?
from gts.
Interesting! I'm pretty sure I've used tslint against d.ts files - why wouldn't that work?
from gts.
I'm not sure. In google-api-nodejs-client, the *.d.ts
files are not recognized by the typescript server. My fix will be "Ignore files that are not recognized by the typescript server".
from gts.
Fixed by #87
from gts.
Related Issues (20)
- 4.x.x release of breaks in some contexts HOT 2
- gts 3.1.0 has 13 vulnerabilities - npm audit fix --force loop 3.1.0 => 4.0.0 => 2.0.2 => 4.0.0 HOT 2
- make 4.0.0 latest HOT 1
- Utilize `google/eslint-config-google` for eslint configuration
- [feature] support npm workspaces HOT 1
- 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 2
- Expose `--max-warnings` flag HOT 1
- feat!: Set `stripInternal` in `tsconfig-google.json` HOT 1
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.