[eslint config] [new] add propWrapperFunctions default settings for eslint-plugin-react

This commit is contained in:
Jordan Harband
2017-08-22 19:44:12 -07:00
parent f93ca2f71d
commit 22672c1cdc

View File

@@ -360,5 +360,10 @@ module.exports = {
pragma: 'React',
version: '15.0'
},
propWrapperFunctions: [
'forbidExtraProps', // https://www.npmjs.com/package/airbnb-prop-types
'exact', // https://www.npmjs.com/package/prop-types-exact
'Object.freeze', // https://tc39.github.io/ecma262/#sec-object.freeze
],
}
};