Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
simison committed Oct 14, 2019
1 parent 562d998 commit 9b08888
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions apps/README.md
Expand Up @@ -17,3 +17,8 @@ You must manually build apps by running:
```bash
npx lerna run build --scope="@automattic/app-name"
```

## Validating package.json
Running `npm run lint:package-json` will lint all `package.json`'s under `./apps/**` based on [`npmpackagejsonlint.config.js`](../npmpackagejsonlint.config.js).

If you need exceptions to linting rules, add them to overrides section in the config file.
4 changes: 3 additions & 1 deletion packages/README.md
Expand Up @@ -19,4 +19,6 @@ npx lerna run prepare --scope="@automattic/package-name"
```

## Validating package.json
Running `npm run lint:package-json` will lint all package.json's under `./packages/**` based on [`npmpackagejsonlint.config.js`](../npmpackagejsonlint.config.js).
Running `npm run lint:package-json` will lint all `package.json`'s under `./packages/**` based on [`npmpackagejsonlint.config.js`](../npmpackagejsonlint.config.js).

If you need exceptions to linting rules, add them to overrides section in the config file.

0 comments on commit 9b08888

Please sign in to comment.