Skip to content

Commit c5e026d

Browse files
committed
update(config): Updated formatting config
1 parent 79e1361 commit c5e026d

File tree

7 files changed

+11065
-10986
lines changed

7 files changed

+11065
-10986
lines changed

.editorconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ root = true
22

33
[*]
44
end_of_line = lf
5-
indent_style = space
6-
indent_size = 4
5+
indent_style = tab
76
charset = utf-8
87
trim_trailing_whitespace = true
98
insert_final_newline = true

.prettierrc.cjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/** @type {import("@types/prettier").Options} */
2+
module.exports = {
3+
printWidth: 100,
4+
tabWidth: 2,
5+
trailingComma: "es5",
6+
semi: false,
7+
plugins: ["./node_modules/prettier-plugin-astro", require("prettier-plugin-tailwindcss")],
8+
astroAllowShorthand: false,
9+
tailwindConfig: "./tailwind.config.cjs",
10+
overrides: [
11+
{
12+
files: "*.astro",
13+
options: {
14+
parser: "astro",
15+
},
16+
},
17+
],
18+
}

0 commit comments

Comments
 (0)