Skip to content

Commit

Permalink
fix: Adjust linting
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Jan 24, 2024
1 parent a165401 commit abe8285
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions lib/oc.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/// <reference types="@nextcloud/typings" />

declare interface Window {
OC: Nextcloud.v26.OC | Nextcloud.v27.OC;
OC: Nextcloud.v26.OC | Nextcloud.v27.OC;

// Private state directly from server
_oc_webroot?: string
_oc_appswebroots?: Record<string, string|undefined>
// Private state directly from server
_oc_webroot?: string
_oc_appswebroots?: Record<string, string|undefined>
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build:doc": "typedoc --out dist/doc lib && touch dist/doc/.nojekyll",
"dev": "vite --mode development build",
"dev:watch": "vite --mode development build --watch",
"lint": "eslint . lib",
"lint": "eslint lib",
"lint:fix": "eslint --fix lib",
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down
22 changes: 11 additions & 11 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler",
"outDir": "./dist",
"strict": true,
"lib": [
"es6",
"dom"
],
}
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler",
"outDir": "./dist",
"strict": true,
"lib": [
"es6",
"dom"
]
}
}

0 comments on commit abe8285

Please sign in to comment.