Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AtomLinter/linter-jshint
Atom linter plugin for JavaScript, using jshint.
https://github.com/AtomLinter/linter-jshint
Last synced: 27 days ago
JSON representation
Atom linter plugin for JavaScript, using jshint.
- Host: GitHub
- URL: https://github.com/AtomLinter/linter-jshint
- Owner: AtomLinter
- Archived: true
- Created: 2014-04-18T15:06:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-08-04T01:42:19.000Z (over 1 year ago)
- Last Synced: 2024-08-07T23:48:37.048Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.18 MB
- Stars: 147
- Watchers: 10
- Forks: 39
- Open Issues: 100
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
linter-jshint
=========================This plugin for [linter](https://github.com/atom-community/linter) provides an interface to [JSHint](http://www.jshint.com/docs/). It will lint JavaScript in files with the `.js` extension and optionally inside `` blocks in HTML or PHP files.
## Installation
The Linter package must be installed in order to use this plugin. If it isn't installed, please follow the instructions [here](https://github.com/atom-community/linter#how-to--installation).### Plugin installation
```sh
$ apm install linter-jshint
```## Settings
You can configure linter-jshint by editing `~/.atom/config.cson` (choose Open Your Config in Atom menu):
```coffee
'linter-jshint':
# Path of the `jshint` executable
executablePath: '/path/to/bundled/jshint'# Lint JavaScript inside `<script>` blocks in HTML or PHP files
lintInlineJavaScript: false# Disable linter when no `.jshintrc` is found in project
disableWhenNoJshintrcFileInPath: false
```## 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 :sunglasses:Please note that modifications should follow these coding guidelines:
- Indent of 2 spaces
- Code should pass [CoffeeLint](http://www.coffeelint.org/) with the provided `coffeelint.json`
- Vertical whitespace helps readability, don't be afraid to use it**Thank you for helping out!**