mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-06 04:20:40 +00:00
setup prettier config
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# Ignore artifacts:
|
||||
build
|
||||
coverage
|
||||
output
|
||||
LICENSE.md
|
||||
|
||||
12
.prettierrc
12
.prettierrc
@@ -1 +1,11 @@
|
||||
{}
|
||||
{
|
||||
"insertPragma": false,
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"semi": false,
|
||||
"singleQuote": false,
|
||||
"bracketSpacing": true,
|
||||
"proseWrap": "preserve",
|
||||
"trailingComma": "none",
|
||||
"endOfLine": "lf"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user