idok / coffee-lint-plugin Goto Github PK
View Code? Open in Web Editor NEWIntellij coffee lint plugin
Home Page: http://plugins.jetbrains.com/plugin/7723
License: MIT License
Intellij coffee lint plugin
Home Page: http://plugins.jetbrains.com/plugin/7723
License: MIT License
gives following
3:30:13 PM CoffeeLint plugin:
undefined:3
_ = require("underscore")
^
SyntaxError: Unexpected token _
at Object.parse (native)
at readConfigFile (/usr/local/lib/node_modules/coffeelint/lib/commandline.js:118:17)
at loadConfig (/usr/local/lib/node_modules/coffeelint/lib/commandline.js:126:18)
at Object. (/usr/local/lib/node_modules/coffeelint/lib/commandline.js:228:14)
at Object. (/usr/local/lib/node_modules/coffeelint/lib/commandline.js:254:4)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/coffeelint/bin/coffeelint:34:5)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:4... (show balloon)
3:30:13 PM StreamException: : input contained no data
Settings:
Node interpreter=/usr/local/bin/node
Path to coffeelint bin = /usr/local/bin/coffeelint
Coffeelint config file = blah/blah/blah/Gruntfile.coffee
Coffeelint settings are as following in the Gruntfile.coffee
coffeelint:
app: ["<%= yeoman.app %>/src/{,**/}*.coffee"]
options:
"max_line_length":
"level": "ignore"
"value": 120
"no_trailing_semicolons":
"level": "error"
"no_trailing_whitespace":
"level": "error"
"allowed_in_comments": false
"allowed_in_empty_lines": true
"camel_case_classes":
"level": "error"
"coffeescript_error":
"level": "error"
"spacing":
"left": 0
"right": 1
"cyclomatic_complexity":
"level": "ignore"
"value": 10
Intellij 15.0.5
What could be wrong do u think?
My local setup is based on a reproducible development environment (Vagrant), as described here: https://www.jetbrains.com/help/webstorm/2016.1/configuring-node-js-interpreters.html#d28694e466
It would be helpful if the coffee-lint-plugin is able to work with remote node.js interpreters, as opposed to local ones. (see: https://www.jetbrains.com/help/webstorm/2016.1/configure-node-js-remote-interpreter-dialog.html )
Update:
RubyMine version 7.1.4
It appears that the coffeelint plugin works within certain directories but not all.
For example, the plugin will work great within my repoName/spec/javascripts test directory. However, it appears the plugin will not work within the Rails asset pipeline when working on javascript files within the repoName/app/assets/javascripts directory.
I can't tell if this is an issue with the coffeelint plugin, RubyMine editor or the Rails asset pipeline.
Any help would be greatly appreciated.
Hi there,
I am trying Webstorm for my Meteor development with coffeescript.
I have installed this plugin and, using the instructions, set up the path to the coffeelint file.
I have nodejs installed (using it all the time, so it's definitely in my path etc).
However, the instructions say nothing about what the node "interpreter" is supposed to be and where to find it.
What am I expected to put into this path?
Many thanks.
Windows 7, WebStorm 10.
Meteor should be restarted only after the files are saved. Could you create temporary files in the system temporary folder? Or rename their extension to .tmp?
The following error appears when the plugin is executed:
10:31:22 CoffeeLint plugin: Error running CoffeeLint inspection: Argument for @NotNull parameter 'path' of com/coffeelint/cli/CoffeeLintRunner.buildSettings must not be null
10:31:22 IllegalArgumentException: Error running CoffeeLint inspection: Argument for @NotNull parameter 'path' of com/coffeelint/cli/CoffeeLintRunner.buildSettings must not be null
My config:
Node: C:\Program Files\nodejs\node.exe
Path to coffeelint bin: C:\Users\rodolfo\AppData\Roaming\npm\coffeelint.cmd
Windows 8.1
WebStorm 10.0.3
Coffeelint 1.9.7
Hi, recently in coffeelint added support for non-standard file extensions.
Is it possible to add support for custom file extensions in the plugin?
this is, Syntax Error
but no error
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.