]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
[misc] Update prettier config
authorIskren Chernev <me@iskren.info>
Sat, 16 Dec 2023 20:54:26 +0000 (22:54 +0200)
committerIskren Chernev <me@iskren.info>
Sat, 16 Dec 2023 20:54:26 +0000 (22:54 +0200)
For some reason it wanted to put traling commas everywhere (including
functions) and that spooks eslint.

.prettierrc

index b650f09093fddfb3f7bd09b4645f6befb9d307d3..0c502f53ab5546f0c1914a9227712b3b4397c441 100644 (file)
@@ -1,4 +1,5 @@
 {
     "printWidth": 80,
-    "singleQuote": true
+    "singleQuote": true,
+    "trailingComma": "es5"
 }