Skip to content

Commit

Permalink
Relax rule: JSX: Consider the global scope when checking for defined …
Browse files Browse the repository at this point in the history
…Components (react/jsx-no-undef)

Fixes: standard/standard#1115
  • Loading branch information
feross committed Oct 29, 2020
1 parent 2e70f2f commit 8e34c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"react/jsx-no-comment-textnodes": "error",
"react/jsx-no-duplicate-props": "error",
"react/jsx-no-target-blank": ["error", { "enforceDynamicLinks": "always" }],
"react/jsx-no-undef": "error",
"react/jsx-no-undef": ["error", { "allowGlobals": true }],
"react/jsx-pascal-case": ["error", { "allowAllCaps": false }],
"react/jsx-props-no-multi-spaces": "error",
"react/jsx-tag-spacing": ["error", {
Expand Down

0 comments on commit 8e34c15

Please sign in to comment.