codeclimate-community / codeclimate-watson

Code Climate Analysis Engine for ember-watson
MIT License
3 stars 4 forks source link

Too many excludes #3

Open bobisjan opened 9 years ago

bobisjan commented 9 years ago

Hi,

I've just encounter an error /usr/src/app/bin/codeclimate-watson:19:in``': Argument list too long - ember-watson.

With configuration like below, ember-watson gets a lot of -e path/to/file arguments.


---
engines:
  eslint:
    enabled: true
  csslint:
    enabled: true
  watson:
    enabled: true
ratings:
  paths:
  - "**.js"
  - "**.css"
exclude_paths:
- bin/**/*
- bower_components/**/*
- config/**/*
- dist/**/*
- node_modules/**/*
- tests/**/*
- tmp/**/*
- vendor/**/*

Thanks

alexlafroscia commented 9 years ago

I think I'm seeing something similar to this. I had to remove the bower_components, node_modules and tmp directories to get this to run correctly.