Skip to content

Commit cff482c

Browse files
dr-itzspike-rabbit
authored andcommitted
fix(prettier-config): use proper glob, compatible with the CLI
1 parent acea4d2 commit cff482c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

prettier-config/.prettierrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"singleQuote": true,
88
"overrides": [
99
{
10-
"files": "*.html",
10+
"files": "**/*.html",
1111
"options": {
1212
"parser": "angular"
1313
}
@@ -19,7 +19,7 @@
1919
}
2020
},
2121
{
22-
"files": "*.json5",
22+
"files": "**/*.json5",
2323
"options": {
2424
"singleQuote": false
2525
}

prettier-config/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const config = {
1616
singleQuote: true,
1717
overrides: [
1818
{
19-
files: '*.html',
19+
files: '**/*.html',
2020
options: {
2121
parser: 'angular'
2222
}
@@ -28,7 +28,7 @@ const config = {
2828
}
2929
},
3030
{
31-
files: '*.json5',
31+
files: '**/*.json5',
3232
options: {
3333
singleQuote: false
3434
}

0 commit comments

Comments
 (0)