🚨 Adding prettier config
This commit is contained in:
parent
ebd433c89e
commit
dae26fd7a0
10
.prettierrc.json
Normal file
10
.prettierrc.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"printWidth": 140,
|
||||||
|
"tabWidth": 4,
|
||||||
|
"useTabs": true,
|
||||||
|
"singleQuote": false,
|
||||||
|
"trailingComma": "all",
|
||||||
|
"endOfLine": "lf",
|
||||||
|
"semi": true,
|
||||||
|
"bracketSameLine": true
|
||||||
|
}
|
@ -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,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
|
Loading…
x
Reference in New Issue
Block a user