chore: linting and coverted .prettierrc to yml

This commit is contained in:
Roberto Tonino 2021-07-17 14:12:37 +02:00
parent 7019b748ff
commit 62074efc2c
3 changed files with 28 additions and 30 deletions

View file

@ -1,12 +0,0 @@
{
"useTabs": true,
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"bracketSpacing": true,
"trailingComma": "none",
"printWidth": 120,
"arrowParens": "avoid",
"vueIndentScriptAndStyle": false,
"endOfLine": "lf"
}

10
.prettierrc.yml Normal file
View file

@ -0,0 +1,10 @@
---
useTabs: true
tabWidth: 2
semi: false
singleQuote: true
bracketSpacing: true
trailingComma: none
printWidth: 120
arrowParens: avoid
vueIndentScriptAndStyle: false

View file

@ -1,23 +1,23 @@
<template> <template>
<div id="deezer_not_available" class="hide"> <div id="deezer_not_available" class="hide">
<i class="material-icons">warning</i> {{ $t('toasts.deezerNotAvailable') }} <i class="material-icons">warning</i> {{ $t('toasts.deezerNotAvailable') }}
</div> </div>
</template> </template>
<style> <style>
#deezer_not_available { #deezer_not_available {
background-color: hsl(53, 98%, 47%); background-color: hsl(53, 98%, 47%);
color: rgba(0,0,0, .75); color: rgba(0, 0, 0, 0.75);
padding: 8px 12px; padding: 8px 12px;
margin: -10px 10px 0px; margin: -10px 10px 0px;
display: flex; display: flex;
border-radius: 8px; border-radius: 8px;
align-items: center; align-items: center;
} }
#deezer_not_available i { #deezer_not_available i {
margin-right: 8px; margin-right: 8px;
} }
#deezer_not_available.hide { #deezer_not_available.hide {
display: none !important; display: none !important;
} }
</style> </style>