setup prettier config

This commit is contained in:
JasonLandbridge
2024-09-04 11:23:40 +02:00
parent 046bd2166a
commit 0b9c51f79f
3 changed files with 21 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
# Ignore artifacts:
build
coverage
output
LICENSE.md

View File

@@ -1 +1,11 @@
{}
{
"insertPragma": false,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": false,
"bracketSpacing": true,
"proseWrap": "preserve",
"trailingComma": "none",
"endOfLine": "lf"
}

View File

@@ -5,7 +5,13 @@
"main": "src/pms-spec.yaml",
"type": "module",
"author": "LukeHagar",
"keywords": ["plex", "api", "specification", "openapi", "swagger"],
"keywords": [
"plex",
"api",
"specification",
"openapi",
"swagger"
],
"license": "MIT",
"scripts": {
"dev": "redocly preview -d=./src",
@@ -16,6 +22,7 @@
"test": "bun run build && vitest --run",
"type-check": "tsc",
"setup-speakeasy-cli": "curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/install.sh | sh",
"format": "bun prettier . --write",
"lint": "redocly lint",
"lint-speakeasy": "speakeasy lint openapi -s ./src/pms-spec.yaml",
"lint-bundled": "speakeasy lint openapi -s ./output/plex-media-server-spec-dereferenced.yaml"