Added card component #108
Annotations
11 errors
Lint Javascript code:
content-scripts/components/Card.tsx#L20
Replace `</img>·:·"·"⏎····················}` with `····)·:·(⏎····························"·"`
|
Lint Javascript code:
content-scripts/components/Card.tsx#L19
Replace `····················<img·className·=·"img"·src·={imgSrc}` with `····························<img·className="img"·src={imgSrc}></img`
|
Lint Javascript code:
content-scripts/components/Card.tsx#L18
Replace `····················{imgSrc·?` with `························{imgSrc·?·(`
|
Lint Javascript code:
content-scripts/components/Card.tsx#L17
Replace `<div·className·=·` with `····<div·className=`
|
Lint Javascript code:
content-scripts/components/Card.tsx#L16
Replace `············{title·&&·description·&&·imgSrc·&&·subtitles·&&·button·?·` with `················{title·&&·description·&&·imgSrc·&&·subtitles·&&·button·?·(`
|
Lint Javascript code:
content-scripts/components/Card.tsx#L15
Replace `·=·` with `=`
|
Lint Javascript code:
content-scripts/components/Card.tsx#L14
Replace `·=·{finalClassName}·id·` with `={finalClassName}·id`
|
Lint Javascript code:
content-scripts/components/Card.tsx#L12
'finalClassName' is never reassigned. Use 'const' instead
|
Lint Javascript code:
content-scripts/components/Card.tsx#L11
Replace `id,·title,·description,·imgSrc,·subtitles,·button·` with `⏎····id,⏎····title,⏎····description,⏎····imgSrc,⏎····subtitles,⏎····button,⏎`
|
Lint Javascript code:
content-scripts/components/Card.tsx#L1
'jsx' is defined but never used
|
Check Javascript code style
Process completed with exit code 1.
|