Requirements: Node.js
First install its dependencies using the following command:
$ npm install
Next, run the site using:
$ npm start
The site is hosted on GitHub Pages. The deployment process requires git and GNU Make
$ make deploy
The homepage for JSHint
Home Page: http://jshint.com
Requirements: Node.js
First install its dependencies using the following command:
$ npm install
Next, run the site using:
$ npm start
The site is hosted on GitHub Pages. The deployment process requires git and GNU Make
$ make deploy
"Only 15% of all programs linted on jshint.com pass the JSHint checks."
I assume this is supposed to say listed or linked but not sure which.
See jshint/jshint#2929 for original discussion.
PR to follow shortly.
I couldn't find any mentions about (not so) new extends
and overrides
on the jshint.com website currently. It would be great to have some.
There is often some lag between new releases of the library and updates to the website. The website should clearly indicate which version of JSHint is in use to limit confusion immediately following new releases.
Makes it easier to search
This option is only available from .jshintrc
files, so it belongs in the "Special Options" sections of the CLI page.
The docs should be updated to mention how to specify multiple paths in exclude. Currently it only says:
Allows you to specify directories which you DON'T want to be linted.
leaving the user to guess how to specify multiple directories.
I'm willing to submit a PR, but should it be against the master
or the dev
branch?
Moved from jshint/jshint#2244 (comment)
Can we add autocomplete for "Jump to docs"?
Can we add "go back to top" button after each option in the table?
Can we add a changelog page or migration guide? I can't find any deprecated option list on the page. It would be great for reference.
Thanks a lot!
to not lose your code
Hi JSHint team, I've been helping to add Black Lives Matter solidarity statements to some project's websites (like Test262 Report and P5.js) and would love to do the same for JSHint. Perhaps something similar to what emberjs.com has implemented in its website.
I'll be happy to submit a PR with these changes if my suggestion sounds ok to you.
For some JSHint-deprecated options for style checking, the "JSHint Options" page points to JSCS at https://github.com/jscs-dev/node-jscs. That repository says it is archived, read-only, unmaintained, and mentions it is merged with ESLint.
Probably makes sense to update the link.
See this issue: jshint/jshint#2135
TL;DR: It should be specified in the docs that while single-line comments are accepted for jshint's inline configuration, it doesn't work for global declaration.
to prevent "yikes!"
Is there some vision of making the website responsive?
Currently the docs reflect the latest release of JSHint. It would be great if the website could also expose information on prior releases because this recently-suggested approach (though value) is far from ideal:
You can browse to the version of which you are looking for documentation (v2.8.0) and read the comments in
src/options.js
Because we are generating documentation from the source code, the ideal solution (as I see it) will require a fair amount of work. Pseudocode:
for each tag of the source code
look up a version-specific source code parsing function
apply that function to the code
expand the documentation template with the parsed variables
update documentation pages to list all available versions
When dealing with large files (>~1000 lines) typing is very laggy because it is re-linted every keypress. It would be nice to have the option to show a button to lint instead of linting automatically.
as added recently:
jshint/jshint#2234
I have 1920 pixels of screen width, but about a third of that is not used while I have lines of code wrapped
with 1-click you can move any output item from default to important grouping, and vice versa.
Would be good for concentrating on a certain parts to debug/improve
The "Inline configuration" section on the docs page suggests there are two primary inline directives: /*jshint*/
and /*global*/
. However, the page proceeds to document /*globals*/
rather than /*global*/
. While JSHint supports both, /*global*/
clearly seems preferred, given that it's what is used in JSHint's own JS files. (It's also the only supported option by JSHint.)
Should the docs be corrected? Expanded to note the alternative form?
The url http://jshint.com/platforms/#editors used to work. I suppose the replacement page is http://jshint.com/install/ (though without a section anchor for the editor plugins section).
I've updated links where I could find, but a redirect would be nice. Cool URIs don't break :)
Makes it easier to search again
I would like to see jshint.com support HTTPS. Maybe use a service like CloudFlare?
I can't find any deprecated option list on the page. It would be great for reference.
The link to Pandoo TEK one the about page seems to act strangely, redirecting a few times and takes you to a suspect site.
If you need a replacement URL we are starting to use JSHint and would be happy to be listed.
Can we have a favicon for JsHint.com? Here are some ideas (note: these are much larger than the normal size would be:
Favicons are not only cool, but they look great in your address bar, especially when there are a lot of tabs:
They also dictate what the icon displayed in your bookmarks bar is when you bookmark JsHint.com.
Please add in favicons!
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.