Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default [
'**/*.md',
'**/*.json',
'docs/**',
'Documentation/**',
'node_modules/**',
'coverage/**',
'dist/**',
Expand Down Expand Up @@ -64,6 +65,7 @@ export default [
'@typescript-eslint/no-unused-vars': ['warn', {
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
}],
// '@typescript-eslint/no-explicit-any': 'warn', - codebase not ready for this
},
Expand Down
55 changes: 10 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,12 @@
"@noble/hashes": "^1.8.0",
"escape-html": "^1.0.3",
"mime-types": "^3.0.1",
"pane-registry": "^2.5.1-ee1545f",
"pane-registry": "^2.5.1-928f05a",
"rdflib": "^2.3.0",
"solid-logic": "^3.1.1-aa7c1ee",
"solid-namespace": "^0.5.4",
"uuid": "^11.1.0"
},
"peerDependencies": {
"rdflib": "^2.3.0",
"solid-logic": "3.1.1-3343cc7"
},
"devDependencies": {
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.3",
Expand Down Expand Up @@ -116,11 +114,9 @@
"jsdom": "^26.1.0",
"neostandard": "^0.12.2",
"nock": "^13.5.6",
"rdflib": "^2.3.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"solid-logic": "^3.1.1-3343cc7",
"storybook": "^7.6.20",
"terser-webpack-plugin": "^5.3.14",
"typedoc": "^0.28.9",
Expand Down
2 changes: 1 addition & 1 deletion src/chat/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function getPublicKey (webId: NamedNode) {
await store.fetcher.load(publicKeyDoc) // url.href)
const key = store.any(webId, ns.solid('publicKey'))
return key?.value // as NamedNode
} catch (err) {
} catch (_err) {
return undefined
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/login/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ export function loginStatusBox (
me = null
try {
alert(message)
} catch (e) {
} catch (_e) {
window.alert(message)
}
box.refresh()
Expand Down Expand Up @@ -716,7 +716,7 @@ authSession.events.on('logout', async () => {
await fetch(openidConfiguration.end_session_endpoint, { credentials: 'include' })
}
}
} catch (err) {
} catch (_err) {
// Do nothing
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/utils/headerFooterHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function getPodOwner (pod: NamedNode, store: LiveStore): Promise<Na
if (podOwner) {
try {
await store.fetcher.load((podOwner as NamedNode).doc())
} catch (err) {
} catch (_err) {
console.warn('Unable to load profile of pod owner ' + podOwner)
return null
}
Expand All @@ -59,7 +59,7 @@ export async function getPodOwner (pod: NamedNode, store: LiveStore): Promise<Na
try {
// @ts-ignore LiveStore always has fetcher
await store.fetcher.load(guess)
} catch (err) {
} catch (_err) {
console.error('Ooops. Guessed wrong pod owner webid {$guess} : can\'t load it.')
return null
}
Expand Down
Loading
Loading