mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-06 12:37:45 +00:00
setup prettier config
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
# Ignore artifacts:
|
# Ignore artifacts:
|
||||||
build
|
build
|
||||||
coverage
|
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",
|
"main": "src/pms-spec.yaml",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"author": "LukeHagar",
|
"author": "LukeHagar",
|
||||||
"keywords": ["plex", "api", "specification", "openapi", "swagger"],
|
"keywords": [
|
||||||
|
"plex",
|
||||||
|
"api",
|
||||||
|
"specification",
|
||||||
|
"openapi",
|
||||||
|
"swagger"
|
||||||
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "redocly preview -d=./src",
|
"dev": "redocly preview -d=./src",
|
||||||
@@ -16,6 +22,7 @@
|
|||||||
"test": "bun run build && vitest --run",
|
"test": "bun run build && vitest --run",
|
||||||
"type-check": "tsc",
|
"type-check": "tsc",
|
||||||
"setup-speakeasy-cli": "curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/install.sh | sh",
|
"setup-speakeasy-cli": "curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/install.sh | sh",
|
||||||
|
"format": "bun prettier . --write",
|
||||||
"lint": "redocly lint",
|
"lint": "redocly lint",
|
||||||
"lint-speakeasy": "speakeasy lint openapi -s ./src/pms-spec.yaml",
|
"lint-speakeasy": "speakeasy lint openapi -s ./src/pms-spec.yaml",
|
||||||
"lint-bundled": "speakeasy lint openapi -s ./output/plex-media-server-spec-dereferenced.yaml"
|
"lint-bundled": "speakeasy lint openapi -s ./output/plex-media-server-spec-dereferenced.yaml"
|
||||||
|
|||||||
Reference in New Issue
Block a user