Skip to content

Commit

Permalink
chore: editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
awwpotato committed Dec 27, 2024
1 parent f452e2f commit 4ba12a7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4

[*.{yml,yaml,nix,json}]
indent_size = 2
14 changes: 7 additions & 7 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": false,
"singleQuote": false,
"quoteProps": "consistent",
"jsxSingleQuote": false,
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "avoid",
"endOfLine": "auto",
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"plugins": [
"prettier-plugin-svelte",
"prettier-plugin-tailwindcss"
],
"overrides": [
{
"files": "*.json",
"files": "*.svelte",
"options": {
"tabWidth": 2
"parser": "svelte"
}
},
{ "files": "*.svelte", "options": { "parser": "svelte" } }
}
]
}

0 comments on commit 4ba12a7

Please sign in to comment.