We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053d047 commit cce3fccCopy full SHA for cce3fcc
.prettierrc.js
.prettierrc.cjs renamed to prettier.config.ts
@@ -1,5 +1,7 @@
1
-// .prettierrc.js
2
-module.exports = {
+// prettier.config.ts
+import { type Config } from "prettier";
3
+
4
+const config: Config = {
5
printWidth: 100,
6
tabWidth: 2,
7
useTabs: false,
@@ -10,4 +12,6 @@ module.exports = {
10
12
bracketSpacing: true,
11
13
arrowParens: 'always',
14
endOfLine: 'lf',
-};
15
+};
16
17
+export default config;
0 commit comments