Skip to content

Commit 6a55d05

Browse files
authored
Moves .prettierrc to package.json (just-the-docs#1186)
Short and sweet PR that does exactly what the title says. Note that this only affects developers of our theme, and is a no-op on the rest of the codebase (including formatting) -- it's just moving a config file! The nice benefits: higher precedence, and one less file (that can confuse users who are forking this repo).
1 parent 5f59793 commit 6a55d05

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: .prettierrc

-7
This file was deleted.

Diff for: package.json

+7
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,12 @@
3535
"no-descending-specificity": null,
3636
"scss/no-global-function-names": null
3737
}
38+
},
39+
"prettier": {
40+
"endOfLine": "lf",
41+
"semi": false,
42+
"singleQuote": false,
43+
"tabWidth": 2,
44+
"trailingComma": "es5"
3845
}
3946
}

0 commit comments

Comments
 (0)