Add linting npm script
Open
- Dominant language
- JavaScript
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
To make it easier to use eslint, wrap it in an npm script.
Command to lint all files: `node_modules/eslint/bin/eslint.js -c ../.eslintrc.json ./`
We can add this to the scripts in package.json. Extra points if we can figure out how to pass arguments through npm scripts to enable a file-specific interface instead of just the entire directory:
`npm run lint components/newcomponent/component.js`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.