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

Commit 580ffa2

Browse files
committed
fix: remove require-func-head from recommend
close #93
1 parent c57a3de commit 580ffa2

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,9 @@ Include all the below rules, as well as all priority rules in above categories,
103103
| | Rule ID | Description |
104104
|:---|:--------|:------------|
105105
| | [nuxt/no-timing-in-fetch-data](./docs/rules/no-timing-in-fetch-data.md) | Disallow `setTimeout/setInterval` in `asyncData/fetch` |
106+
107+
### Other Rules
108+
109+
| | Rule ID | Description |
110+
|:---|:--------|:------------|
106111
| | [nuxt/require-func-head](./docs/rules/require-func-head.md) | Enforce `head` property in component to be a function. |

docs/rules/require-func-head.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
> enforce `head` property in component to be a function.
44
5-
- :gear: This rule is included in `"plugin:nuxt/recommended"`.
6-
75
## Rule Details
86

97
This rule is enforcing `head` property in component to be a function.

lib/configs/recommended.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module.exports = {
22
extends: require.resolve('./base.js'),
33
rules: {
4-
'nuxt/no-timing-in-fetch-data': 'error',
5-
'nuxt/require-func-head': 'error'
4+
'nuxt/no-timing-in-fetch-data': 'error'
65
}
76
}

0 commit comments

Comments
 (0)