Skip to content

kitch/linter-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

linter-json

This linter plugin for Linter provides an interface to jsonlint. It will be used with files that have the “JSON” syntax.

Installation

Linter package must be installed in order to use this plugin. If Linter is not installed, please follow the instructions here.

jsonlint installation

Before using this plugin, you must ensure that jsonlint is installed on your system. To install jsonlint, do the following:

  1. Install npm.

  2. Install jsonlint by typing the following in a terminal:

    npm install jsonlint -g
    

Now you can proceed to install the linter-json plugin.

Plugin installation

$ apm install linter-json

Settings

You can configure linter-json by editing ~/.atom/config.cson (choose Open Your Config in Atom menu):

'linter-json':
  'jsonExecutablePath': null #jsonlint path. run 'which jsonlint' to find the path

Contributing

If you would like to contribute enhancements or fixes, please do the following:

  1. Fork the plugin repository.
  2. Hack on a separate topic branch created from the latest master.
  3. Commit and push the topic branch.
  4. Make a pull request.
  5. welcome to the club

Please note that modications should follow these coding guidelines:

  • Indent is 2 spaces.
  • Code should pass coffeelint linter.
  • Vertical whitespace helps readability, don’t be afraid to use it.

Thank you for helping out!

About

Linter plugin for JSON, using jsonlint

Resources

Stars

Watchers

Forks

Packages

No packages published