Coder Social home page Coder Social logo

lint.vim's People

Contributors

dhruvasagar avatar joestelmach avatar raimondi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lint.vim's Issues

(run.js) ReferenceError: arguments is not defined

Hi,

Quick background on my setup: I cloned lint.vim into my .janus plugins folder, went to .vim and ran rake to get latest plugin changes.

I have installed v8 via brew on OS X 10.8.3 and using Janus....anyway...

The plugin runs when I save a buffer but I get this error:

(run.js) ReferenceError: arguments is not defined
var args = arguments;
^
ReferenceError: arguments is not defined

Any ideas on how to debug this? Thanks!

Disable jump to first warning/error

Hi guys,

First off thanks a lot for writing this plugin, it's quite useful and slick. Syntastic plugin has recently added support for csshint but it's quite slow so I prefer using this instead. However I find it quite disturbing and annoying that my cursor is automatically taken to the first warning / error location in the file once the check is done. It would be really nice if I could disable the cursor jump because that really breaks my flow.

Support es6

The jshint version seems old, is it possible to support es6?

README: Add screenshot

Awesome plugin! Could we add a demo screenshot to help people understand how lint.vim works?

ReferenceError: arguments is not defined

I get this when trying to save a JS file

|| var args = arguments;
||            ^
|| ReferenceError: arguments is not defined
at ~/.vim/bundle/lint.vim/plugin/../js/run.js|1| 12

ReferenceError: arguments is not defined

%d8 ~/.vim/bundle/lint.vim/js/jshint/jshint.js ~/.vim/bundle/lint.vim/js/jshint/options.js ~/.vim/bundle/lint.vim/js/run.js -- ./abc.js

~/.vim/bundle/lint.vim/js/run.js:1: ReferenceError: arguments is not defined

var args = arguments;
^
ReferenceError: arguments is not defined
at ~/.vim/bundle/lint.vim/js/run.js:1:12

jsl.conf

Hello!

I would like to have the possibility of loading a custom jsl.conf without having to fork your repo just to update this line:

  • let jslint_command_options = '-conf ~/.jsl.conf -nofilelisting -nocontext -nosummary -nologo -process'

Can you please advise me on this one? If you don't have any time, I would gladly help.

Best Regards

Project specific jshintrc support?

It seems that this plugin only uses the single jshintrc as defined in the readme. I can't seem to get file specific items to work e.g. /* jshint regexdash: false */

Also the JSHint docs suggest that they will continually walk up the directory structure finding each jshintrc which allows you to have project specific and global jshintrc's. I'm not sure if I have something set up incorrectly or if this plugin simply ignores everything not in the specified jshintrc.

Can anyone confirm this? And if so, is there any way to enable project specific jshintrc files?

Thanks!

Using custom conf file makes JSL explode

If I save a file with no errors it opens the split with:

jsl-test.js|| can't open file: No such file or directory

and then clears my split and renames it to jsl-tests.js.

I'm using

let jslint_command_options = '-nofilelisting -nocontext -nosummary -nologo -conf ~/.jsl -process'

to have a custom conf file to turn off some JSL stupidity

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.