add prettier config

pull/28/head
Laurin Weger 5 months ago
parent bf0efefd1f
commit df5af0fe26
No known key found for this signature in database
GPG Key ID: 9B372BB0B792770F
  1. 14
      .prettierrc.json
  2. 23
      package.json
  3. 3571
      pnpm-lock.yaml

@ -0,0 +1,14 @@
{
"plugins": ["prettier-plugin-svelte"],
"overrides": [
{
"files": "*",
"excludeFiles": ["*.svelte", "*.html", "*.json"],
"options": {
"tabWidth": 4
}
},
{ "files": "*.svelte", "options": { "parser": "svelte" } }
],
"trailingComma": "es5"
}

@ -1,13 +1,16 @@
{
"name": "nextgraph-rs",
"private": true,
"version": "0.1.0",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"rollup"
]
}
"name": "nextgraph-rs",
"private": true,
"version": "0.1.0",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"rollup"
]
}
},
"devDependencies": {
"prettier": "^3.3.2",
"prettier-plugin-svelte": "^3.2.5"
}
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save