Skip to content

PatOnTheBack/atom-jslint

 
 

Repository files navigation

JSLint

OBS! This package is no longer maintained. Im using XO full time now

JSLint error reports for your Atom editor.

preview

Installation

You can install this plugin via the Packages manager in Atom itself or manually through the terminal

$ apm install jslint

Usage

JSlint is by default validating on save (this can be changed in the package settings), you can also execute it by hitting ctrl-alt-l.

If you like you can even set it to validate while typing in the package settings.

Configuration

JSlint options can be configured via .jslintrc config files, located in

  • your home directory (global options) and
  • your project root directory (project specific options).

The .jslintrc config files are JSON files see .jslintrc-example for an example. Specifications of the different options can be found in the JSlint documentation.

Features

  • Validate on keymap
  • Validate on command
  • Validate on save (toggle in settings)
  • Validate on change (toggle in settings)
  • Option to hide the error panel if no errors were found (toggle in settings)
  • Option to use fold mode by default (toggle in settings)
  • Choose between different JSLint versions (select in settings)
  • Supports .jslintrc config files (project located file will overwrite the global file)
  • ES6 support (you need to select es6 in the JSLint version dropdown and reload Atom)

License

MIT © tcarlsen

About

JSLint error reports for your Atom editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 100.0%