🚨 Adding prettier config

This commit is contained in:
Maxime Lalo 2023-04-17 11:38:24 +02:00
parent ebd433c89e
commit dae26fd7a0
2 changed files with 10 additions and 24 deletions

10
.prettierrc.json Normal file
View File

@ -0,0 +1,10 @@
{
"printWidth": 140,
"tabWidth": 4,
"useTabs": true,
"singleQuote": false,
"trailingComma": "all",
"endOfLine": "lf",
"semi": true,
"bracketSameLine": true
}

View File

@ -1,24 +0,0 @@
module.exports = {
overrides: [
{
files: [
"src//*.ts",
"src//.tsx",
"src/**/.scss",
"./*.js",
],
options: {
tabWidth: 4,
useTabs: true,
singleQuote: false,
trailingComma:
"all",
printWidth: 140,
endOfLine:
"lf",
semi: true,
bracketSameLine: true,
},
},
],
};