Skip to content

Commit 726aa89

Browse files
committed
update prettier config
1 parent b3add66 commit 726aa89

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

api/.eslintrc.js

+6
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,11 @@ module.exports = {
2020
'@typescript-eslint/explicit-function-return-type': 'off',
2121
'@typescript-eslint/explicit-module-boundary-types': 'off',
2222
'@typescript-eslint/no-explicit-any': 'off',
23+
"prettier/prettier": [
24+
"error",
25+
{
26+
"endOfLine": "auto"
27+
},
28+
],
2329
},
2430
};

api/.prettierrc

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2-
"singleQuote": true,
3-
"trailingComma": "all"
2+
"singleQuote": true,
3+
"trailingComma": "all",
4+
"endOfLine":"auto"
45
}

0 commit comments

Comments
 (0)