Skip to content

Commit 323cded

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

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ There are two configurations for consumption, both of which are packaged togethe
3636
To demo locally, clone the repo and
3737

3838
```bash
39-
$ yarn install
40-
$ yarn run lint
39+
$ yarn
40+
$ yarn 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/"
1719
},
1820
"peerDependencies": {
1921
"eslint": ">= 3",

0 commit comments

Comments
 (0)