diff --git a/package.json b/package.json index f135430..61430f4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "eslint-config-aftership", "description": "AfterShip ESLint config (modified from Airbnb)", - "version": "3.1.2", + "version": "3.1.3", "homepage": "https://github.com/AfterShip/eslint-config-aftership", "author": { "name": "AfterShip", diff --git a/react.js b/react.js index f8c8e84..29ee2b1 100644 --- a/react.js +++ b/react.js @@ -71,6 +71,10 @@ module.exports = extendConfig({ // Don't want to check default props // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md - 'react/prop-types': ['error', {ignore: ['children']}] + 'react/prop-types': ['error', {ignore: ['children']}], + + // this rule is deprecated + // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/require-extension.md + 'react/require-extension': 'off' } });