File tree 3 files changed +3
-10
lines changed
src/steps/writing/creation
3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " http://json.schemastore.org/prettierrc" ,
3
- "overrides": [
4
- { "files": ".*rc", "options": { "parser": "json" } },
5
- { "files": ".nvmrc", "options": { "parser": "yaml" } }
6
- ],
3
+ "overrides" : [{ "files" : " .nvmrc" , "options" : { "parser" : " yaml" } }],
7
4
"plugins" : [" prettier-plugin-curly" , " prettier-plugin-packagejson" ],
8
5
"useTabs" : true
9
6
}
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ These are the projects used across many parts of `create-typescript-app`:
119
119
120
120
## Why tabs?
121
121
122
- This repository template configures ` "useTabs": true ` in the root-level ` .prettierrc ` .
122
+ This repository template configures ` "useTabs": true ` in the root-level ` .prettierrc.json ` .
123
123
It does so because tabs have been phrased by the community as generally better for accessibility:
124
124
125
125
- < https://github.com/11ty/eleventy/issues/3098 >
Original file line number Diff line number Diff line change @@ -43,13 +43,9 @@ export async function createRootFiles(options: Options) {
43
43
"lib/" ,
44
44
"pnpm-lock.yaml" ,
45
45
] ) ,
46
- ".prettierrc" : await formatJson ( {
46
+ ".prettierrc.json " : await formatJson ( {
47
47
$schema : "http://json.schemastore.org/prettierrc" ,
48
48
overrides : [
49
- {
50
- files : ".*rc" ,
51
- options : { parser : "json" } ,
52
- } ,
53
49
{
54
50
files : ".nvmrc" ,
55
51
options : { parser : "yaml" } ,
You can’t perform that action at this time.
0 commit comments