diff options
author | Jake Wiesler <jakewiesler@gmail.com> | 2020-06-27 17:44:07 +0300 |
---|---|---|
committer | Jake Wiesler <jakewiesler@gmail.com> | 2020-06-27 17:53:50 +0300 |
commit | 5f30c228485499337440d4bb7d84101bd6d48b8e (patch) | |
tree | c8ef4aa49fa5f196ec3fb3f3e8613cd8609ac92c /prettier.config.js | |
parent | 742baede65f61800582b349e842613b8f985a43c (diff) |
add prettier
Prettier has been added as a dev dependency along with a few other tools
that run prettier on staged files before committing them. This prevents
any file from being committed that hasn't gone through the project's
formatting. Check the prettier.config.js file for details on how we
format files.
Diffstat (limited to 'prettier.config.js')
-rw-r--r-- | prettier.config.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/prettier.config.js b/prettier.config.js new file mode 100644 index 0000000..7a9bf1c --- /dev/null +++ b/prettier.config.js @@ -0,0 +1,13 @@ +module.exports = { + arrowParens: "avoid", + bracketSpacing: false, + endOfLine: "lf", + htmlWhitespaceSensitivity: "css", + printWidth: 80, + proseWrap: "always", + semi: false, + singleQuote: false, + tabWidth: 2, + trailingComma: "all", + useTabs: false, +} |