markmcintyre / brackets-jslint Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I have a JS file that's an array of arrays used for games that need a dictionary. It's 1362KB in size, and upon loading it in Brackets, JSLint embarks on an epic journey to try to lint it.
Well, it doesn't need linting--just editing. Brackets hangs up like a jilted girlfriend during the lint, and it's entirely an issue with JSLint. (The current web version dies trying to parse it with a recursion failure.)
Not your fault, for sure, but still an issue. An option for the plug-in that disallowed linting any file larger than X KB would likely resolve this and still allow linting files of a more sane size. Any JS file larger than 100K probably needs to be broken down into smaller modules. Unfortunately for the dictionary, breaking it down into smaller files isn't really an option.
When using the this
keyword we get a
strict violation
error. No way in options to set this to false or true as it is on original site: http://jslint.com/.
Thanks for the plugin. Would you please add the option to configure the jslint release to use? Gulp-jslint for example allows to configure it so it would be ideal that the developer using brackets uses the same version that later on a release process will use.
I tried deploying the newest file in the extension directory but it did not work even after restarting brackets because just like the original brackets jslint code this plugin tries to use JSLINT which is not longer defined.
For now I am forced to uninstall this plugin and manually delete the internal jslint.js that comes with brackets to avoid confusion.
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.