eslint-plugin-react
Advanced tools
Comparing version 7.31.2 to 7.31.3
@@ -32,2 +32,5 @@ /** | ||
crossOrigin: ['script', 'img', 'video', 'audio', 'link', 'image'], | ||
fill: ['svg'], | ||
property: ['meta'], | ||
viewBox: ['svg'], | ||
}; | ||
@@ -134,4 +137,18 @@ | ||
'span', 'src', 'start', 'step', 'target', 'type', 'value', 'width', 'wrap', | ||
// SVG attributes | ||
// See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute | ||
'accumulate', 'additive', 'alphabetic', 'amplitude', 'ascent', 'azimuth', 'bbox', 'begin', | ||
'bias', 'by', 'clip', 'color', 'cursor', 'cx', 'cy', 'd', 'decelerate', 'descent', 'direction', | ||
'display', 'divisor', 'dur', 'dx', 'dy', 'elevation', 'end', 'exponent', 'fill', 'filter', | ||
'format', 'from', 'fr', 'fx', 'fy', 'g1', 'g2', 'hanging', 'height', 'hreflang', 'ideographic', | ||
'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'local', 'mask', 'mode', | ||
'offset', 'opacity', 'operator', 'order', 'orient', 'orientation', 'origin', 'overflow', 'path', | ||
'ping', 'points', 'r', 'radius', 'rel', 'restart', 'result', 'rotate', 'rx', 'ry', 'scale', | ||
'seed', 'slope', 'spacing', 'speed', 'stemh', 'stemv', 'string', 'stroke', 'to', 'transform', | ||
'u1', 'u2', 'unicode', 'values', 'version', 'visibility', 'widths', 'x', 'x1', 'x2', 'xmlns', | ||
'y', 'y1', 'y2', 'z', | ||
// OpenGraph meta tag attributes | ||
'property', | ||
// React specific attributes | ||
'ref', | ||
'ref', 'key', | ||
]; | ||
@@ -157,2 +174,32 @@ | ||
'rowSpan', 'srcDoc', 'srcLang', 'srcSet', 'useMap', | ||
// SVG attributes | ||
// See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute | ||
'crossOrigin', 'accentHeight', 'alignmentBaseline', 'arabicForm', 'attributeName', | ||
'attributeType', 'baseFrequency', 'baselineShift', 'baseProfile', 'calcMode', 'capHeight', | ||
'clipPathUnits', 'clipPath', 'clipRule', 'colorInterpolation', 'colorInterpolationFilters', | ||
'colorProfile', 'colorRendering', 'contentScriptType', 'contentStyleType', 'diffuseConstant', | ||
'dominantBaseline', 'edgeMode', 'enableBackground', 'fillOpacity', 'fillRule', 'filterRes', | ||
'filterUnits', 'floodColor', 'floodOpacity', 'fontFamily', 'fontSize', 'fontSizeAdjust', | ||
'fontStretch', 'fontStyle', 'fontVariant', 'fontWeight', 'glyphName', | ||
'glyphOrientationHorizontal', 'glyphOrientationVertical', 'glyphRef', 'gradientTransform', | ||
'gradientUnits', 'horizAdvX', 'horizOriginX', 'imageRendering', 'kernelMatrix', | ||
'kernelUnitLength', 'keyPoints', 'keySplines', 'keyTimes', 'lengthAdjust', 'letterSpacing', | ||
'lightingColor', 'limitingConeAngle', 'markerEnd', 'markerMid', 'markerStart', 'markerHeight', | ||
'markerUnits', 'markerWidth', 'maskContentUnits', 'maskUnits', 'mathematical', 'numOctaves', | ||
'overlinePosition', 'overlineThickness', 'panose1', 'paintOrder', 'pathLength', | ||
'patternContentUnits', 'patternTransform', 'patternUnits', 'pointerEvents', 'pointsAtX', | ||
'pointsAtY', 'pointsAtZ', 'preserveAlpha', 'preserveAspectRatio', 'primitiveUnits', | ||
'referrerPolicy', 'refX', 'refY', 'rendering-intent', 'repeatCount', 'repeatDur', | ||
'requiredExtensions', 'requiredFeatures', 'shapeRendering', 'specularConstant', | ||
'specularExponent', 'spreadMethod', 'startOffset', 'stdDeviation', 'stitchTiles', 'stopColor', | ||
'stopOpacity', 'strikethroughPosition', 'strikethroughThickness', 'strokeDasharray', | ||
'strokeDashoffset', 'strokeLinecap', 'strokeLinejoin', 'strokeMiterlimit', 'strokeOpacity', | ||
'strokeWidth', 'surfaceScale', 'systemLanguage', 'tableValues', 'targetX', 'targetY', | ||
'textAnchor', 'textDecoration', 'textRendering', 'textLength', 'transformOrigin', | ||
'underlinePosition', 'underlineThickness', 'unicodeBidi', 'unicodeRange', 'unitsPerEm', | ||
'vAlphabetic', 'vHanging', 'vIdeographic', 'vMathematical', 'vectorEffect', 'vertAdvY', | ||
'vertOriginX', 'vertOriginY', 'viewBox', 'viewTarget', 'wordSpacing', 'writingMode', 'xHeight', | ||
'xChannelSelector', 'xlinkActuate', 'xlinkArcrole', 'xlinkHref', 'xlinkRole', 'xlinkShow', | ||
'xlinkTitle', 'xlinkType', 'xmlBase', 'xmlLang', 'xmlnsXlink', 'xmlSpace', 'yChannelSelector', | ||
'zoomAndPan', | ||
// Safari/Apple specific, no listing available | ||
@@ -159,0 +206,0 @@ 'autoCorrect', // https://stackoverflow.com/questions/47985384/html-autocorrect-for-text-input-is-not-working |
{ | ||
"name": "eslint-plugin-react", | ||
"version": "7.31.2", | ||
"version": "7.31.3", | ||
"author": "Yannick Croissant <yannick.croissant+npm@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "React specific linting rules for ESLint", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
744656
20588
0