This plugin for linter provides an interface to JSLint. It will lint JavaScript in files with the .js
extension and optionally inside <script>
blocks in HTML or PHP files.
The Linter package must be installed in order to use this plugin. If it isn't installed, please follow the instructions here.
$ apm install linter-jslint
You can configure linter-jslint by editing ~/.atom/config.cson
(choose Open Your Config in Atom menu):
'linter-jslint':# Path of the `jslint` executableexecutablePath: '/path/to/bundled/jslint'# Lint JavaScript inside `<script>` blocks in HTML or PHP fileslintInlineJavaScript: false# Disable linter when no `.jslintrc` is found in projectdisableWhenNoJslintrcFileInPath: false
If you would like to contribute enhancements or fixes, please do the following:
master
Please note that modifications should follow these coding guidelines:
coffeelint.json
Thank you for helping out!
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.