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

33 lines
1.3 KiB
JSON

{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
"@graph": [
{
"comment": "Generates pods based on the templates in the corresponding folder.",
"@id": "urn:solid-server:default:PodResourcesGenerator",
"@type": "StaticFolderGenerator",
"templateFolder": "@css:templates/pod",
"resourcesGenerator": { "@id": "urn:solid-server:default:TemplatedResourcesGenerator" }
},
{
"comment": [
"Generates resources in the base subfolder of the provided folder.",
"Authorization configurations should add their corresponding subfolder containing the relevant authorization files."
],
"@id": "urn:solid-server:default:TemplatedResourcesGenerator",
"@type": "SubfolderResourcesGenerator",
"subfolders": [ "base" ],
"resourcesGenerator": {
"@type": "BaseResourcesGenerator",
"factory": {
"@type": "ExtensionBasedMapperFactory"
},
"templateEngine": {
"@id": "urn:solid-server:default:TemplateEngine"
},
"metadataStrategy": { "@id": "urn:solid-server:default:MetadataStrategy" },
"store": { "@id": "urn:solid-server:default:ResourceStore" }
}
}
]
}