Comments (10)
Same issue, as of version 5.1.0. At version 5.0.1 it works
yarn --version
3.6.3
yarn lint
version 18
from gts.
Lint was failing on a pipeline I had setup on the workflows.
Had to downgrade gts from "5.2.0" to "5.0.1" and it worked.
from gts.
Same problem here. Why is gts printing 'version 21' and returning exit code 1 when linting? Also, same exit code and printing out error on fixing. Why? (New to gts).
Not with yarn. Running gts as executable installed through npm.
from gts.
Can you send me some steps to reproduce? I'm able to fresh install:
$ yarn init
$ npx gts init
$ yarn lint
Runs without any issues.
from gts.
I've abandoned my attempt to use gts at the moment. You can try my repo at https://github.com/linusjf/LearnSolidJS to see if you can recreate the problem. The only other thing you might need to know is that eslint was installed globally as ~v9.1.
from gts.
@linusjf I was able to get it running on your repo by:
$ yarn
$ rm eslint.config.cjs
$ npx gts init
$ yarn lint
...works.
from gts.
If I can ask: What version of Node are you running?
$ node -v
from gts.
from gts.
@linusjf I was able to get it running on your repo by:
$ yarn $ rm eslint.config.cjs $ npx gts init $ yarn lint ...works.
I'd rather use the new flat-config.
Perhaps, once gts moves to the new config, I'll look at it again.
I'm already using prettier on my files, anyway, via the lint
command line script.
from gts.
Once we drop support for older versions of Node, I plan on migrating to the latest ESLint and will provide the flat config in the init
. Closing this for now since we are tracking this already in #830
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 2
- Expose `--max-warnings` flag HOT 1
- feat!: Set `stripInternal` in `tsconfig-google.json` HOT 1
- 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.