Comments (10)
from kcd-scripts.
Hi @v1adko! I'm happy you're giving kcd-scripts
a try :)
I'm pretty sure kcd-scripts does not need stuff like cssnano to run.
You're correct. I'm not sure why it's trying to read that. My guess is that it's trying to lint files in node_modules
. Could you try kcd-scripts lint --debug
? The --debug
flag will be forwarded to eslint
and it'll show you what files it's trying to lint. If it is trying to lint those files, could you look into what it's using for the eslint ignore?
Actually, now that I think of it I remembered there's an existing issue! eslint/eslint#9227
To solve this problem, I've always added an eslintIgnore
property to my package.json
. I'm hoping that we can solve this issue in ESLint eventually. Maybe I'll take some time to work on that because paypal-scripts
will need this fixed as well. But feel free to work on that yourself!
I'm going to go ahead and close this as it's not actionable in this project but will be solved by eslint.
from kcd-scripts.
Thank you, adding eslintIgnore
did help (.eslintignore worked too), even though it did require unfound eslint-plugin-babel
and eslint-plugin-jest
, but thankfully stopped at those two :)
Is it possible to encapsulate those within kcd-scripts too?
Also would be nice if we could pass something like --ignore-path to use .gitignore and not duplicate the ignore paths.
Or extra configuration will increase the complexity of this toolbox and it's better to manage without it?
from kcd-scripts.
Those should definitely be encapsulated within kcd-scripts
. I've not had trouble with them. What version of npm are you using?
from kcd-scripts.
I use yarn 1.1.0
from kcd-scripts.
Also would be nice if we could pass something like --ignore-path to use .gitignore and not duplicate the ignore paths.
You can 😉
from kcd-scripts.
I don't use yarn, so I don't plan on supporting that in kcd-scripts
. But I'm happy to accept a pull request if it doesn't complicate the codebase too much.
from kcd-scripts.
Of course I can :) Thanks.
OK, I'll try to figure it out.
Interestingly after dropping node_modules and yarn.lock and installing again issue persists.
And funny enough, installing kcd-scripts as a dependency and not a dev dependency it requires only eslint-plugin-jest
.
from kcd-scripts.
Well that's totally weird. Sounds like it could be an issue with combining react-scripts and kcd-scripts. Though I haven't had this problem in this project 🤔
from kcd-scripts.
Try yarn why babel-plugin-jest
and npm ls babel-plugin-jest
. That'll tell you what packages require those packages...
from kcd-scripts.
Related Issues (20)
- 6.1.0 seems to have a regression HOT 1
- High-level visibility of configurations HOT 2
- The automated release is failing 🚨
- The automated release is failing 🚨
- ReactDOM is misspelled as ReactDom in UMD files HOT 1
- Babel removes test files from src directory after building HOT 1
- Environment key "jest/globals" is unknown HOT 1
- babel-plugin-minify-dead-code-elimination removes function names HOT 2
- [pre-commit]: test step hangs due to --watch HOT 2
- tsconfig conflicts with build HOT 1
- ESLint fails on Node 15 HOT 4
- fix linting issues on windows HOT 2
- Incorrect `latest` version tag in NPM HOT 1
- Validate script fails on window-latest 14
- eslint is looking inside the folders coverage
- istanbul ignore else HOT 4
- bug: ESLint cannot be imported in Jest 27 HOT 1
- [Feature Request] Pin `browserslist` and `caniuse-lite` HOT 4
- New alternative HOT 1
- upgrade rollup to the latest version 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 kcd-scripts.