aboutsummaryrefslogtreecommitdiffstats
path: root/.prettierrc.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-10-20 22:47:28 +0200
committerArmand Philippot <git@armandphilippot.com>2021-10-20 22:47:28 +0200
commitd439d65db1c4f56aa5bafa5df6b595855501fcb9 (patch)
tree7e98538ce97c439dc9f3d59b66aebc00f99d7f33 /.prettierrc.js
parente8ad8fdcd70f2388433068847f9d028036bc0311 (diff)
build: set prettier config and update stylelint rules
Diffstat (limited to '.prettierrc.js')
-rw-r--r--.prettierrc.js31
1 files changed, 30 insertions, 1 deletions
diff --git a/.prettierrc.js b/.prettierrc.js
index f4d6253..6f6bdc0 100644
--- a/.prettierrc.js
+++ b/.prettierrc.js
@@ -1,3 +1,32 @@
module.exports = {
-
+ printWidth: 80,
+ tabWidth: 2,
+ useTabs: false,
+ singleQuote: true,
+ quoteProps: 'as-needed',
+ jsxSingleQuote: true,
+ trailingComma: 'es5',
+ bracketSpacing: true,
+ jsxBracketSameLine: false,
+ arrowParens: 'always',
+ requirePragma: false,
+ insertPragma: false,
+ proseWrap: 'preserve',
+ htmlWhitespaceSensitivity: 'css',
+ vueIndentScriptAndStyle: true,
+ endOfLine: 'lf',
+ overrides: [
+ {
+ files: ['*.css', '*.scss'],
+ options: {
+ singleQuote: false,
+ },
+ },
+ {
+ files: ['*.txt'],
+ options: {
+ endOfLine: 'crlf',
+ },
+ },
+ ],
};