Skip to content

Commit

Permalink
3.1.3: Disable react/require-extension
Browse files Browse the repository at this point in the history
  • Loading branch information
foray1010 committed Sep 23, 2016
1 parent 16c3874 commit adbe9ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 5 additions & 1 deletion react.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
});

0 comments on commit adbe9ec

Please sign in to comment.