diff options
author | Calum Lind <calumlind@gmail.com> | 2018-10-03 11:22:22 +0100 |
---|---|---|
committer | Calum Lind <calumlind@gmail.com> | 2018-10-03 18:16:09 +0100 |
commit | 358ff74d0e4d14a4cd6f781ff39e1004e7122f2b (patch) | |
tree | c8ea6092ecb7579a8d373b4c0abdb0f9abca4438 /.prettierrc.yaml | |
parent | b1cdc32f7357e9777eb6cc2d90094c7d122af2eb (diff) | |
download | deluge-358ff74d0e4d14a4cd6f781ff39e1004e7122f2b.tar.gz deluge-358ff74d0e4d14a4cd6f781ff39e1004e7122f2b.tar.bz2 deluge-358ff74d0e4d14a4cd6f781ff39e1004e7122f2b.zip |
[Lint] Format files with Prettier
Use Prettier to auto-format javascript, CSS and YAML files so that less
manual work is involved and style is consistent across project.
Diffstat (limited to '.prettierrc.yaml')
-rw-r--r-- | .prettierrc.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.prettierrc.yaml b/.prettierrc.yaml new file mode 100644 index 000000000..724d4b933 --- /dev/null +++ b/.prettierrc.yaml @@ -0,0 +1,13 @@ +trailingComma: "es5" +tabWidth: 4 +singleQuote: true +overrides: + - files: + - "*.yaml" + - ".*.yaml" + - "*.yml" + - ".*.yml" + - "*.md" + options: + tabWidth: 2 + singleQuote: false |