Joachim Van Herwegen 6248ed0938 refactor: Replace linting configurations
The previous package was outdated, preventing us from updating TS.
This one also lints YAML and JSON,
and applies many more rules to the test files,
explaining all the changes in this PR.
2023-11-02 09:49:17 +01:00

46 lines
1.6 KiB
JSON

{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"import": [
"css:config/app/main/general/templates.json"
],
"@graph": [
{
"comment": "This is the entry point to the application. It can be used to both start and stop the server.",
"@id": "urn:solid-server:default:App",
"@type": "App",
"initializer": { "@id": "urn:solid-server:default:Initializer" },
"finalizer": {
"comment": "Is executed when the server is stopped.",
"@type": "SequenceHandler",
"handlers": [
{ "@id": "urn:solid-server:default:Finalizer" },
{ "@id": "urn:solid-server:default:CleanupFinalizer" }
]
},
"clusterManager": {
"@id": "urn:solid-server:default:ClusterManager",
"@type": "ClusterManager",
"workers": { "@id": "urn:solid-server:default:variable:workers" }
}
},
{
"comment": "This is going to contain the list of finalizers that need to be called. These should be added in the configs where such classes are configured.",
"@id": "urn:solid-server:default:Finalizer",
"@type": "ParallelHandler",
"handlers": [
{
"@type": "FinalizableHandler",
"finalizable": { "@id": "urn:solid-server:default:ServerInitializer" }
}
]
},
{
"comment": "Finalizers that need to cleanup once no more data will be written to the backend should be added here.",
"@id": "urn:solid-server:default:CleanupFinalizer",
"@type": "SequenceHandler",
"handlers": [
]
}
]
}