codeclimate / codeclimate-coffeelint Goto Github PK
View Code? Open in Web Editor NEWCode Climate Engine for CoffeeLint
License: MIT License
Code Climate Engine for CoffeeLint
License: MIT License
Version 1.16.0 of coffeelint
allows use of import
and export
keywords without backticks in coffeescript.
A customer is requesting that we update this engine.
coffeelint now support CoffeeScript 2, which includes support for .jsx
Currently warnings from CoffeeLint are ignored (by using the -q
parameter). Is this expected behaviour? I would rather like to have the warnings also to be displayed in CodeClimate
When I run codeclimate analyze
, with only the coffelint engine enabled I get the following error:
>>>> codeclimate analyze
Starting analysis
Running coffeelint: Done!
error: (CC::Analyzer::Engine::EngineFailure) engine coffeelint failed with status 1 and stderr
path.js:439
throw new TypeError('Arguments to path.resolve must be strings');
^
TypeError: Arguments to path.resolve must be strings
at Object.posix.resolve (path.js:439:13)
at Object.realpathSync (fs.js:1325:18)
at read (/usr/lib/node_modules/coffeelint/lib/commandline.js:60:19)
at readConfigFile (/usr/lib/node_modules/coffeelint/lib/commandline.js:104:12)
at loadConfig (/usr/lib/node_modules/coffeelint/lib/commandline.js:116:18)
at Object.<anonymous> (/usr/lib/node_modules/coffeelint/lib/commandline.js:218:14)
at Object.<anonymous> (/usr/lib/node_modules/coffeelint/lib/commandline.js:244:4)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/usr/lib/node_modules/coffeelint/bin/coffeelint:34:5)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
/usr/lib/ruby/gems/2.2.0/gems/json-1.8.3/lib/json/common.rb:155:in `initialize': A JSON text must at least contain two octets! (JSON::ParserError)
from /usr/lib/ruby/gems/2.2.0/gems/json-1.8.3/lib/json/common.rb:155:in `new'
from /usr/lib/ruby/gems/2.2.0/gems/json-1.8.3/lib/json/common.rb:155:in `parse'
from /usr/src/app/lib/cc/engine/coffeelint_results.rb:14:in `block in results'
from /usr/src/app/lib/cc/engine/coffeelint_results.rb:13:in `chdir'
from /usr/src/app/lib/cc/engine/coffeelint_results.rb:13:in `results'
from /usr/src/app/lib/cc/engine/coffeelint.rb:50:in `coffeelint_results'
from /usr/src/app/lib/cc/engine/coffeelint.rb:14:in `run'
from /usr/src/app/bin/coffeelint:14:in `<main>'
Any idea what might be happening? Thanks!
We have .coffeelint.json config file in our project, but engine don't use it
Repo running into:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.