Skip to content

Commit b96adff

Browse files
refactor: Unforbids object proptypes for css.
1 parent 7ab3ea6 commit b96adff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/general.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,13 @@ module.exports = {
133133
*
134134
* @example
135135
* ["error", {
136-
* forbid: ["any", "array", "object"],
136+
* forbid: ["any", "array"],
137137
* checkContextTypes: false,
138138
* checkChildContextTypes: false,
139139
* }]
140140
*/
141141
"react/forbid-prop-types": ["error", {
142-
forbid: ["any", "array", "object"],
142+
forbid: ["any", "array"],
143143
checkContextTypes: false,
144144
checkChildContextTypes: false,
145145
}],

0 commit comments

Comments
 (0)