Comments (4)
Thanks for reporting this, Robin. Are you having this issue with JSLint or JSHint?
from jslintmate.
With JSHint. Thanks for looking into this.
from jslintmate.
This new behavior is happening because of a recent change in JSHint itself. Each new release of JSLintMate just contains the latest version of JSLint and JSHint, which is why it's appearing now.
It looks like this has been addressed in a recently JSHint nightly build: jshint/jshint#639
Other related discussions:
If you'd like to use a version of JSHint other than JSLintMate's packaged version (e.g., if you want to use a JSHint nightly build), you can configure JSLintMate to use a custom linter. Here's how: https://github.com/rondevera/jslintmate#custom-jslintjshint-builds
from jslintmate.
I'm kinda plagued by this one too. My programmer OCD kicks in if I leave out variables as in other languages it changes the signature of the function.
My solution is to comment out the arguments that I don't need. That way they are still documented in code that they are an option, but don't throw linter errors. I've been seeing this practice crop up for more and more boilerplate javascript code I've used.
function temp (arg1 /* arg2, arg3, ...*/) { // Doesn't throw errors and is completely valid
return arg1;
}
from jslintmate.
Related Issues (20)
- Failure - env: bash: No such file or directory HOT 2
- predef ignored when has $ prefix HOT 1
- JSHint doesn't seem to recognize the smarttabs flag HOT 4
- Broken on OSX 10.8 HOT 7
- Config option todo does not work together with browser option HOT 2
- Setting options per project HOT 7
- Embedded javascript HOT 2
- Unable to install on sublimeText HOT 2
- Save & Run JSLintMate error in Mavericks DP3
- Add Node support
- move to sublime text
- Two issues straight after installation, OSX 10.8.5, TM 1.5.11 (1635)
- undefined method `find' error HOT 10
- support inline jslint config?
- Error in Installing JSLintMate for TextMate in Mavericks HOT 2
- JSLint config unparam not woking
- jshint options -> broken link
- run on unsaved code? HOT 1
- Dosn't work
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 jslintmate.