• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

jshint

Validate JavaScript with JSHint. In realtime or on save. Supports JSX (React).
  • #lint
  • #javascript
  • #validate
  • #jshint
  • #jsx
sindresorhus
1.8.6 301,158
341
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious


Deprecated

I failed to find an active maintainer. See linter-jshint for an alternative. However, I would strongly recommend trying out ESLint (Atom plugin) instead. It's just so much better than JSHint. XO (Atom plugin), which is an ESLint wrapper with sensible defaults, is also a good choice.


JSHint

Validate JavaScript with JSHint

Install

$ apm install jshint

Or Settings → Install → Search for jshint (install Jshint, not Atom Jshint)

Features

  • Validates in realtime.
  • Line and line number turns red on error.
  • Hover over the line number to see the errors.
  • Displays the error from the current line or the first error in the statusbar; clicking the statusbar message moves the cursor to the error.
  • Reads your .jshintrc config and jshintConfig in package.json using the same logic as JSHint.
  • Option to only validate on save.
  • Command Jshint: Lint to manually lint.
  • Command Jshint: Go To Next Error to move the cursor to the next error in the current editor.
  • Command Jshint: Go To Error to move the cursor to the error displayed in the statusbar.
  • Supports React JSX. (must be enabled in Settings)

License

MIT © Sindre Sorhus

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by