increase prettier line length to 120 (#233)
* [Prettier] Increase max line length to 120 100 is quite low, especially on modern monitors. The length is also reached quite quickly with 4 spaces per tab depending on the indentation depth * [Prettier] Increase max line length to 120 - Fix formatting
This commit is contained in:
@@ -22,17 +22,7 @@ interface IProps {
|
||||
|
||||
export default function ExtensionCard(props: IProps) {
|
||||
const {
|
||||
extension: {
|
||||
name,
|
||||
lang,
|
||||
versionName,
|
||||
installed,
|
||||
hasUpdate,
|
||||
obsolete,
|
||||
pkgName,
|
||||
iconUrl,
|
||||
isNsfw,
|
||||
},
|
||||
extension: { name, lang, versionName, installed, hasUpdate, obsolete, pkgName, iconUrl, isNsfw },
|
||||
notifyInstall,
|
||||
} = props;
|
||||
const [installedState, setInstalledState] = useState<string>(() => {
|
||||
@@ -123,12 +113,7 @@ export default function ExtensionCard(props: IProps) {
|
||||
<Typography variant="caption" display="block" gutterBottom>
|
||||
{langPress} {versionName}
|
||||
{isNsfw && (
|
||||
<Typography
|
||||
variant="caption"
|
||||
display="inline"
|
||||
gutterBottom
|
||||
color="red"
|
||||
>
|
||||
<Typography variant="caption" display="inline" gutterBottom color="red">
|
||||
{' 18+'}
|
||||
</Typography>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user