Skip to content

Commit f44bc74

Browse files
committed
Tweaks
1 parent eec1c56 commit f44bc74

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

index.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,12 @@ export default [
7070
],
7171
'react/no-this-in-sfc': 'error',
7272
'react/no-unescaped-entities': 'error',
73-
'react/no-unknown-property': 'error',
73+
'react/no-unknown-property': [
74+
'error',
75+
{
76+
requireDataLowercase: true,
77+
},
78+
],
7479
'react/no-unsafe': 'error',
7580
'react/no-unused-prop-types': 'error',
7681
'react/no-unused-state': 'error',
@@ -163,7 +168,12 @@ export default [
163168
],
164169
},
165170
],
166-
'react/jsx-no-script-url': 'error',
171+
'react/jsx-no-script-url': [
172+
'error',
173+
{
174+
includeFromSettings: true,
175+
},
176+
],
167177
'react/jsx-no-target-blank': [
168178
'error',
169179
{

0 commit comments

Comments
 (0)