Files
svgedit/docs/Linting.md
Brett Zamir 6f8d45cda9 - Docs: Remove outdated info on jsdoc linting (now just part of eslint config)
- npm: Rename open script to open-tests, and add `open` script for opening instance of svgedit
- npm: Ensure starting server for open scripts
2019-12-25 16:06:44 +08:00

18 lines
495 B
Markdown

## Command line
```
npm run eslint
```
This will query both JavaScript files and will query JavaScript within
Markdown files. It will also check for some JSDoc issues.
## Atom usage
If using the Atom package `linter-eslint`, one may add `source.gfm` to the
"List of scopes to run ESLint on..." setting to get reporting of JavaScript
errors in Markdown.
One may also add `source.embedded.js` though configuration comments
and skip directives (not currently in use) don't seem to work there.