Skip to content

Commit d4fbc8d

Browse files
committed
adds support for independent linting
1 parent fb59419 commit d4fbc8d

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To demo locally, clone the repo and
3737

3838
```bash
3939
$ yarn install
40-
$ yarn run lint
40+
$ yarn run demo
4141
```
4242

4343
## Contribution

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@trbl/eslint-config",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"main": "index.js",
55
"repository": "git@github.com:trouble/eslint-config.git",
66
"description": "Please do not feed the dust bunnies.",
@@ -13,7 +13,9 @@
1313
"style-guide"
1414
],
1515
"scripts": {
16-
"lint": "eslint ."
16+
"build": "yarn run lint",
17+
"lint": "eslint . --ignore-pattern demo/",
18+
"demo": "eslint ./demo/*.js"
1719
},
1820
"peerDependencies": {
1921
"eslint": ">= 3",

0 commit comments

Comments
 (0)