diff --git a/lib/rules/no-unknown-property.js b/lib/rules/no-unknown-property.js index 70b5772dc4..c22ae74e53 100644 --- a/lib/rules/no-unknown-property.js +++ b/lib/rules/no-unknown-property.js @@ -22,11 +22,11 @@ const DOM_ATTRIBUTE_NAMES = { class: 'className', for: 'htmlFor', 'http-equiv': 'httpEquiv', - crossOrigin: 'crossorigin' + crossorigin: 'crossOrigin' }; const ATTRIBUTE_TAGS_MAP = { - crossorigin: ['script', 'img', 'video'] + crossOrigin: ['script', 'img', 'video'] }; const SVGDOM_ATTRIBUTE_NAMES = { diff --git a/tests/lib/rules/no-unknown-property.js b/tests/lib/rules/no-unknown-property.js index 5a730b9c29..66f2d8e61c 100644 --- a/tests/lib/rules/no-unknown-property.js +++ b/tests/lib/rules/no-unknown-property.js @@ -42,7 +42,7 @@ ruleTester.run('no-unknown-property', rule, { code: '
;', options: [{ignore: ['class']}] }, - {code: ''} + {code: ''} ], invalid: [{ code: ';', @@ -81,13 +81,13 @@ ruleTester.run('no-unknown-property', rule, { output: '