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

Commit

Permalink
fix: remove require-func-head from recommend
Browse files Browse the repository at this point in the history
close #93
  • Loading branch information
clarkdo committed May 11, 2020
1 parent c57a3de commit 580ffa2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -103,4 +103,9 @@ Include all the below rules, as well as all priority rules in above categories,
| | Rule ID | Description |
|:---|:--------|:------------|
| | [nuxt/no-timing-in-fetch-data](./docs/rules/no-timing-in-fetch-data.md) | Disallow `setTimeout/setInterval` in `asyncData/fetch` |

### Other Rules

| | Rule ID | Description |
|:---|:--------|:------------|
| | [nuxt/require-func-head](./docs/rules/require-func-head.md) | Enforce `head` property in component to be a function. |
2 changes: 0 additions & 2 deletions docs/rules/require-func-head.md
Expand Up @@ -2,8 +2,6 @@

> enforce `head` property in component to be a function.
- :gear: This rule is included in `"plugin:nuxt/recommended"`.

## Rule Details

This rule is enforcing `head` property in component to be a function.
Expand Down
3 changes: 1 addition & 2 deletions lib/configs/recommended.js
@@ -1,7 +1,6 @@
module.exports = {
extends: require.resolve('./base.js'),
rules: {
'nuxt/no-timing-in-fetch-data': 'error',
'nuxt/require-func-head': 'error'
'nuxt/no-timing-in-fetch-data': 'error'
}
}

0 comments on commit 580ffa2

Please sign in to comment.