diff --git a/index.js b/index.js index 83ea796..5b8e571 100644 --- a/index.js +++ b/index.js @@ -72,6 +72,10 @@ module.exports = { 'prefer-promise-reject-errors': 0, 'quote-props': ['error', 'as-needed', { keywords: false, unnecessary: true, numbers: true }], 'react/destructuring-assignment': 0, + 'react/function-component-definition': [2, { + namedComponents: 'arrow-function', + unnamedComponents: 'arrow-function', + }], 'react/jsx-curly-brace-presence': ['error', { props: 'never', children: 'ignore', diff --git a/package.json b/package.json index 495cb39..19560dc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "eslint-config-bzc", "description": "Eslint Config for my personal and professional projects", - "version": "1.0.1", + "version": "1.0.2", "main": "index.js", "repository": "git@github.com:Brianzchen/eslint-config-bzc.git", "author": "Brian Chen",