dssg / dssg/tyra

Add linting npm script

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.