Skip to content

Commit a74139e

Browse files
authored
refactor: we'd mainly like to use the single quote for JS files (#24)
and not for CSS, SCSS etc.
1 parent b2c293d commit a74139e

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.prettierrc.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
{
22
"trailingComma": "none",
3-
"singleQuote": true
3+
"overrides": [
4+
{
5+
"files": "**/*.js",
6+
"options": {
7+
"singleQuote": true
8+
}
9+
},
10+
{
11+
"files": "**/*.mjs",
12+
"options": {
13+
"singleQuote": true
14+
}
15+
}
16+
]
417
}

0 commit comments

Comments
 (0)