generated from sentrysoftware/oss-maven-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.prettierrc.yaml
More file actions
40 lines (30 loc) · 930 Bytes
/
.prettierrc.yaml
File metadata and controls
40 lines (30 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Prettier Configuration for Sentry Maven Skin
# See: https://prettier.io/docs/en/options.html
# Use tabs for indentation (consistent with existing code style)
useTabs: true
tabWidth: 4
# Double quotes for strings (consistent with ESLint config)
singleQuote: false
# No trailing commas (better compatibility with older browsers)
trailingComma: "none"
# Print width
printWidth: 120
# Semicolons at the end of statements
semi: true
# Bracket spacing in object literals
bracketSpacing: true
# Put the > of a multi-line HTML element at the end of the last line
bracketSameLine: false
# Line endings: auto (CRLF on Windows, LF on Linux/macOS)
endOfLine: "auto"
# HTML whitespace sensitivity
htmlWhitespaceSensitivity: "css"
# Overrides for specific file types
overrides:
- files: "*.css"
options:
singleQuote: false
- files: "*.html"
options:
printWidth: 200
htmlWhitespaceSensitivity: "ignore"