Skip to content

Commit 7a8f568

Browse files
committedSep 21, 2024
[eslint config] [patch] add new disabled react rules
1 parent c25bce8 commit 7a8f568

File tree

1 file changed

+8
-2
lines changed
  • packages/eslint-config-airbnb/rules

1 file changed

+8
-2
lines changed
 

‎packages/eslint-config-airbnb/rules/react.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -583,17 +583,23 @@ module.exports = {
583583
// TODO: semver-major, enable
584584
'react/jsx-no-leaked-render': 'off',
585585

586-
// https://github.com/jsx-eslint/eslint-plugin-react/blob/66b58dd4864678eb869a7bf434c72ff7ac530eb1/docs/rules/no-object-type-as-default-prop.md
587586
// https://github.com/jsx-eslint/eslint-plugin-react/blob/66b58dd4864678eb869a7bf434c72ff7ac530eb1/docs/rules/no-object-type-as-default-prop.md
588587
// TODO: semver-major, enable
589588
'react/no-object-type-as-default-prop': 'off',
590589

591-
// https://github.com/jsx-eslint/eslint-plugin-react/blob/66b58dd4864678eb869a7bf434c72ff7ac530eb1/docs/rules/sort-default-props.md
592590
// https://github.com/jsx-eslint/eslint-plugin-react/blob/66b58dd4864678eb869a7bf434c72ff7ac530eb1/docs/rules/sort-default-props.md
593591
// TODO: semver-major, enable?
594592
'react/sort-default-props': ['off', {
595593
ignoreCase: false
596594
}],
595+
596+
// https://github.com/jsx-eslint/eslint-plugin-react/blob/9668ee0762acd5c23f53cd3a372e2d8d9563944d/docs/rules/forward-ref-uses-ref.md
597+
// TODO: semver-major, enable
598+
'react/forward-ref-uses-ref': 'off',
599+
600+
// https://github.com/jsx-eslint/eslint-plugin-react/blob/9668ee0762acd5c23f53cd3a372e2d8d9563944d/docs/rules/jsx-props-no-spread-multi.md
601+
// TODO: semver-major, enable
602+
'react/jsx-props-no-spread-multi': 'off',
597603
},
598604

599605
settings: {

0 commit comments

Comments
 (0)
Failed to load comments.