Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Docs: Make peerDependencies package.json snippet valid JSON (#8971)
  • Loading branch information
sadams authored and not-an-aardvark committed Jul 21, 2017
1 parent a5fd101 commit e39d41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/developer-guide/shareable-configs.md
Expand Up @@ -33,7 +33,7 @@ Once your shareable config is ready, you can [publish to npm](https://docs.npmjs
You should declare your dependency on eslint in `package.json` using the [peerDependencies](https://docs.npmjs.com/files/package.json#peerdependencies) field. The recommended way to declare a dependency for future proof compatibility is with the ">=" range syntax, using the lowest required eslint version. For example:

```
peerDependencies: {
"peerDependencies": {
"eslint": ">= 3"
}
```
Expand Down

0 comments on commit e39d41d

Please sign in to comment.