Skip to content

Commit

Permalink
Docs: fix substitution of {{ name }} (#9822)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjomble authored and platinumazure committed Jan 7, 2018
1 parent e14ceb0 commit 54b329a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/developer-guide/working-with-rules.md
Expand Up @@ -188,6 +188,7 @@ Instead of typing out messages in both the `context.report()` call and your test
This allows you to avoid retyping error messages. It also prevents errors reported in different sections of your rule from having out-of-date messages.

```js
{% raw %}
// in your rule
module.exports = {
meta: {
Expand Down Expand Up @@ -236,6 +237,7 @@ ruleTester.run('my-rule', rule, {
},
],
})
{% endraw %}
```

### Applying Fixes
Expand Down

0 comments on commit 54b329a

Please sign in to comment.