From a19b2adfc26b41de418301bbe9ce80c84e8cfca3 Mon Sep 17 00:00:00 2001 From: Johnny Zarate Date: Fri, 26 Jan 2018 11:22:24 -0800 Subject: [PATCH] Removed unnecessary mapping and tests handled by React's existing warnings. --- lib/rules/no-unknown-property.js | 3 +-- tests/lib/rules/no-unknown-property.js | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/rules/no-unknown-property.js b/lib/rules/no-unknown-property.js index c22ae74e53..f5b26d0a7a 100644 --- a/lib/rules/no-unknown-property.js +++ b/lib/rules/no-unknown-property.js @@ -21,8 +21,7 @@ const DOM_ATTRIBUTE_NAMES = { 'accept-charset': 'acceptCharset', class: 'className', for: 'htmlFor', - 'http-equiv': 'httpEquiv', - crossorigin: 'crossOrigin' + 'http-equiv': 'httpEquiv' }; const ATTRIBUTE_TAGS_MAP = { diff --git a/tests/lib/rules/no-unknown-property.js b/tests/lib/rules/no-unknown-property.js index 66f2d8e61c..637922b928 100644 --- a/tests/lib/rules/no-unknown-property.js +++ b/tests/lib/rules/no-unknown-property.js @@ -80,12 +80,6 @@ ruleTester.run('no-unknown-property', rule, { code: ';', output: ';', errors: [{message: 'Unknown property \'clip-path\' found, use \'clipPath\' instead'}] - }, { - code: '