diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-12 19:15:48 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-12 19:17:13 +0100 |
| commit | 23f909d33d5ee58cbf093191518939fbf72c6b70 (patch) | |
| tree | 246b873318fffe52fbd40c7496d0baf6f07cb9ba /.prettierrc.json | |
| parent | df69949ebe244465b5baa7d1b91a2ed161b4827a (diff) | |
build: add tools to enforce some code/commit rules
Diffstat (limited to '.prettierrc.json')
| -rw-r--r-- | .prettierrc.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..583e061 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,32 @@ +{ + "arrowParens": "always", + "bracketSameLine": false, + "bracketSpacing": true, + "embeddedLanguageFormatting": "auto", + "endOfLine": "lf", + "htmlWhitespaceSensitivity": "css", + "insertPragma": false, + "printWidth": 80, + "proseWrap": "preserve", + "quoteProps": "as-needed", + "requirePragma": false, + "semi": true, + "singleQuote": true, + "tabWidth": 2, + "trailingComma": "es5", + "useTabs": false, + "overrides": [ + { + "files": ["*.scss"], + "options": { + "singleQuote": false + } + }, + { + "files": ["*.txt"], + "options": { + "endOfLine": "crlf" + } + } + ] +} |
