Comments (17)
I have also experienced this issue.
from codeclimate-eslint.
Hi, from what I can tell, this (and another I've seen, status 138) are out-of-memory scenarios.
Are these large repos you're analyzing? If so, could you try cutting down the number of source files via exclude_paths
?
from codeclimate-eslint.
I'm unsure why, but exclude_paths
doesn't seem to work for me. My db
folder still gets analysed by Rubocop. ESlint is probably going through all of the bower_components
and node_modules
😦
from codeclimate-eslint.
Can I see your codeclimate.yml? Specifically, I'm thinking exclude_paths: db
won't work, and you need exclude_paths: db/**/*
. If that's the case, we should improve the docs in this regard.
from codeclimate-eslint.
I don't have the .codeclimate.yml file any more, unfortunately, and I never committed it because I didn't want to share it unless I had it working. I don't believe I used quotes around the path (like http://docs.codeclimate.com/article/289-configuring-your-repository-via-codeclimate-yml shows), if that has any relevance. I definitely did use the **/*
pattern..
from codeclimate-eslint.
I'm running to this as well. It seems that exclude_paths
aren't being respected by eslint (possibly due to different formats). I'm running this in an ember app, and had to remove tmp
, dist
, node_modules
, and bower_components
to get codeclimate analyze
to run.
from codeclimate-eslint.
@tim-evans what version of the CLI are you running? You can find that by running codeclimate version
from codeclimate-eslint.
@gordondiggs 0.0.25
from codeclimate-eslint.
@tim-evans thanks - can you post the .codeclimate.yml
file you are using?
from codeclimate-eslint.
Sure!
---
engines:
eslint:
enabled: true
fixme:
enabled: true
watson:
enabled: true
ratings:
paths:
- "app/**"
- "addon/**"
- "blueprints/**"
exclude_paths:
- config/**
- dist/**
- vendor/**
- node_modules/**
- bower_components/**
- tmp/**
from codeclimate-eslint.
The repository that I'm working on is: https://github.com/paddle8/ember-plupload
If you npm install and bower install, then try to run codeclimate analyze, the problem should appear.
from codeclimate-eslint.
from codeclimate-eslint.
Thanks @gordondiggs I'm working through this with @ABaldwinHunter right now and we're trying to ignore blueprints/file-filter/files/app/file-filters/__name__.js
from analysis.
We've added the full path to .codeclimate.yml
, but couldn't get rid of the warning. It seems like patterns in the exclude_paths
aren't being respected by eslint.
from codeclimate-eslint.
@tim-evans I just pushed a new version of the image that changes the way we handle exclude patterns - is it better after you update?
from codeclimate-eslint.
@gordondiggs still having trouble. Running codeclimate analyze
on the addon repo after calling bower install / npm install still takes a long time.
I'm running codeclimate v 0.1.5 now.
from codeclimate-eslint.
Hi @jcope2013 @liamdawson @tim-evans,
Are you still experiencing this issue? We made improvements to workspace calculation in codeclimate/codeclimate#308 which may have had an impact.
Let us know either way. Thanks!
from codeclimate-eslint.
I'm going to close this issue for now. Feel free to reopen if this is still occurring.
from codeclimate-eslint.
Related Issues (20)
- ESLint 7.8.1 doesn't exist HOT 1
- FEATURE REQUEST: please merge #537 pull request
- Add support for plugins for eslint-7 channel HOT 6
- Please merge the six Dependabot pull requests into the main branch
- How to Enable Module Resolution
- `eslint-plugin-graphql` not supported HOT 2
- eslint-8 channel? HOT 3
- Environment key "es2021" is unknown HOT 2
- Parsing error: Invalid ecmaVersion.
- Can we update the channels, please?
- Is it possible to disable Eslint check?
- Error on Analysis Configuration .codeclimate.yml
- How to extend custom config? HOT 1
- feature request: extend custom config
- Upgrade eslint-7?
- Add support for plugins for eslint-8 channel HOT 6
- Add eslint-plugin-astro to eslint-8 plugin list
- Add eslint-plugin-svelte to eslint-8
- `MODULE_NOT_FOUND` error while using prettier plugins
- ESLint v9 Support
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 codeclimate-eslint.