From a207069e1b7d76e1dfb9aac6e4f419cdcedbbd7e Mon Sep 17 00:00:00 2001 From: Simon Finney Date: Thu, 22 Jul 2021 15:29:23 +0100 Subject: [PATCH] feat(eslint): override `react/display-name` for stories --- config/eslint-config-carbon/plugins/react.js | 1 + 1 file changed, 1 insertion(+) diff --git a/config/eslint-config-carbon/plugins/react.js b/config/eslint-config-carbon/plugins/react.js index 772bd1865ec8..2dbc3da652b3 100644 --- a/config/eslint-config-carbon/plugins/react.js +++ b/config/eslint-config-carbon/plugins/react.js @@ -51,6 +51,7 @@ module.exports = { { files: ['*-story.js'], rules: { + 'react/display-name': 0, 'react/prop-types': 0, }, },