Skip to content

Commit

Permalink
Add prettier configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Carmen Bianca Bakker <[email protected]>
  • Loading branch information
carmenbianca committed Jan 22, 2022
1 parent 9c3bf05 commit ec74fef
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SPDX-FileCopyrightText: 2022 Carmen Bianca Bakker <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

/src/reuse/resources/*.json
19 changes: 19 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: 2022 Carmen Bianca Bakker <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

printWidth: 80
proseWrap: always
useTabs: false
tabWidth: 4

overrides:
# Identical to file types specified in .editorconfig
- files:
- "*.rst"
- "*.md"
- "*.yaml"
- "*.yml"
- "*.json"
options:
tabWidth: 2

0 comments on commit ec74fef

Please sign in to comment.