summaryrefslogtreecommitdiffstats
path: root/.prettierrc
diff options
context:
space:
mode:
authoramzrk22020-10-02 09:25:29 +0800
committeramzrk22020-10-02 09:25:29 +0800
commit910452304371a51f5a7f88f75a5a9addaf04a501 (patch)
tree9db73eb92486935f2c91334ec74ccba5c1526085 /.prettierrc
parent92909aa4796fa83661652ec5e66655f394845ee9 (diff)
downloadhugo-theme-fuji-910452304371a51f5a7f88f75a5a9addaf04a501.tar.gz
hugo-theme-fuji-910452304371a51f5a7f88f75a5a9addaf04a501.tar.bz2
hugo-theme-fuji-910452304371a51f5a7f88f75a5a9addaf04a501.zip
update: Prettier settings
Diffstat (limited to '.prettierrc')
-rw-r--r--.prettierrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000..ba97ca5
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,13 @@
+{
+ "printWidth": 100,
+ "tabWidth": 2,
+ "useTabs": false,
+ "semi": true,
+ "singleQuote": true,
+ "quoteProps": "as-needed",
+ "jsxSingleQuote": false,
+ "trailingComma": "es5",
+ "bracketSpacing": true,
+ "jsxBracketSameLine": false,
+ "arrowParens": "always"
+}