Skip to content

Commit

Permalink
Docs: Clarified how plugin rules look in plugin configs (fixes eslint…
Browse files Browse the repository at this point in the history
  • Loading branch information
platinumazure committed Jun 9, 2016
1 parent f804397 commit c12477e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/developer-guide/working-with-plugins.md
Expand Up @@ -92,13 +92,15 @@ configs: {
myConfig: {
env: ["browser"],
rules: {
semi: 2
semi: 2,
"myPlugin/my-rule": 2,
"eslint-plugin-myPlugin/another-rule": 2
}
}
}
```

**Note:** Please note that configuration will not automatically attach your rules and you have to specify your plugin name and any rules you want to enable that are part of the plugin. See [Configuring Plugins](../user-guide/configuring#configuring-plugins)
**Note:** Please note that configuration will not automatically attach your rules and you have to specify your plugin name and any rules you want to enable that are part of the plugin. Any plugin rules must be prefixed with the short or long plugin name. See [Configuring Plugins](../user-guide/configuring#configuring-plugins)

### Peer Dependency

Expand Down

0 comments on commit c12477e

Please sign in to comment.