Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Update no-this-in-fetch-data.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sébastien Chopin authored Dec 19, 2018
1 parent f8e32c5 commit 0f2d34f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/no-this-in-fetch-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Examples of **incorrect** code for this rule:
export default {
...foo,
async asyncData() {
if(this.$route.path === 'foo') {
if (this.$route.path === 'foo') {

}
}
Expand All @@ -39,4 +39,4 @@ export default {
## :mag: Implementation

- [Rule source](https://github.com/nuxt/eslint-plugin-nuxt/blob/master/lib/rules/no-this-in-fetch-data.js)
- [Test source](https://github.com/nuxt/eslint-plugin-nuxt/blob/master/lib/rules/__test__/no-this-in-fetch-data.test.js)
- [Test source](https://github.com/nuxt/eslint-plugin-nuxt/blob/master/lib/rules/__test__/no-this-in-fetch-data.test.js)

0 comments on commit 0f2d34f

Please sign in to comment.