summaryrefslogtreecommitdiff
path: root/.prettierrc.cjs
diff options
context:
space:
mode:
Diffstat (limited to '.prettierrc.cjs')
-rw-r--r--.prettierrc.cjs9
1 files changed, 9 insertions, 0 deletions
diff --git a/.prettierrc.cjs b/.prettierrc.cjs
new file mode 100644
index 0000000..57779e5
--- /dev/null
+++ b/.prettierrc.cjs
@@ -0,0 +1,9 @@
+module.exports = {
+ semi: true, // Add semicolons at the end of statements
+ trailingComma: 'es5', // Add trailing commas where valid in ES5 (objects, arrays, etc.)
+ singleQuote: true, // Use single quotes instead of double quotes
+ printWidth: 80, // Specify the line length that the printer will wrap on
+ tabWidth: 2, // Specify the number of spaces per indentation-level
+ useTabs: false, // Indent lines with spaces instead of tabs
+ endOfLine: 'lf', // Use Line Feed as the line ending
+}; \ No newline at end of file