File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
packages/eslint-config-airbnb Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 5454 "eslint-find-rules" : " ^1.13.2" ,
5555 "eslint-plugin-import" : " ^1.15.0" ,
5656 "eslint-plugin-jsx-a11y" : " ^2.2.2" ,
57- "eslint-plugin-react" : " ^6.2.1 " ,
57+ "eslint-plugin-react" : " ^6.3.0 " ,
5858 "in-publish" : " ^2.0.0" ,
5959 "react" : " >= 0.13.0" ,
6060 "safe-publish-latest" : " ^1.1.0" ,
6464 "eslint" : " ^3.5.0" ,
6565 "eslint-plugin-jsx-a11y" : " ^2.2.2" ,
6666 "eslint-plugin-import" : " ^1.15.0" ,
67- "eslint-plugin-react" : " ^6.2.1 "
67+ "eslint-plugin-react" : " ^6.3.0 "
6868 },
6969 "engines" : {
7070 "node" : " >= 4"
Original file line number Diff line number Diff line change @@ -263,6 +263,16 @@ module.exports = {
263263 // Require style prop value be an object or var
264264 // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/style-prop-object.md
265265 'react/style-prop-object' : 'error' ,
266+
267+ // Prevent invalid characters from appearing in markup
268+ // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-unescaped-entities.md
269+ // TODO: enable, semver-major
270+ 'react/no-unescaped-entities' : 'off' ,
271+
272+ // Prevent passing of children as props
273+ // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-children-prop.md
274+ // TODO: enable, semver-major
275+ 'react/no-children-prop' : 'off'
266276 } ,
267277
268278 settings : {
You can’t perform that action at this time.
0 commit comments