Skip to content

Commit

Permalink
Add prettier/editorconfigs from 11ty/eleventy, update prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Jan 6, 2024
1 parent e42098a commit 0823393
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
15 changes: 3 additions & 12 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,10 @@ root = true

[*]
indent_style = tab
indent_size = 2
end_of_line = lf
insert_final_newline = false
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[*.js]
insert_final_newline = true
indent_style = tab

[*.json]
indent_style = tab

[*.css]
insert_final_newline = true
indent_style = tab
[*.yml]
indent_style = space
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"useTabs": true,
"singleQuote": false,
"semi": true,
"endOfLine": "lf",
"arrowParens": "always",
"printWidth": 100
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"node-fetch": "^2.6.8",
"node-retrieve-globals": "^2.0.6",
"pagefind": "^1.0.3",
"prettier": "^2.8.4",
"prettier": "^3.1.1",
"semver": "^7.5.4",
"short-hash": "^1.0.0",
"slugify": "^1.6.5",
Expand Down

0 comments on commit 0823393

Please sign in to comment.