From 5475acdae2fcd499db667bac4f9fa9a6ad266083 Mon Sep 17 00:00:00 2001 From: Brody McKee Date: Tue, 29 Aug 2023 13:35:49 +1000 Subject: [PATCH] feat(eslint): enable `react/no-unknown-property` Resolves #52 BREAKING CHANGE: `react/no-unknown-property` has been enabled as it provides a useful auto-fix for SVG properties. --- eslint/rules/react.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/eslint/rules/react.js b/eslint/rules/react.js index 07faa0d..f0b7b1d 100644 --- a/eslint/rules/react.js +++ b/eslint/rules/react.js @@ -3,8 +3,6 @@ * disable them. */ const disabledRules = { - // This is better handled by TypeScript. - 'react/no-unknown-property': 'off', // We recommend using TypeScript over `prop-types`, as `prop-types` can add // to a project's build size. 'react/prop-types': 'off',