From e045bd9f211be578af8e4d7a9e3493d3624933c8 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Tue, 3 Aug 2021 22:09:19 +0200 Subject: [PATCH] docs: new datasources must follow class-based programming style (#11070) --- lib/datasource/readme.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/datasource/readme.md b/lib/datasource/readme.md index 6edd5a829f..c4a46e0bd2 100644 --- a/lib/datasource/readme.md +++ b/lib/datasource/readme.md @@ -2,6 +2,11 @@ Datasources are used in Renovate primarily to fetch released versions of packages. +## Follow the class-based programming style + +New datasources _must_ follow the class-based programming style. +Use the `adoptium-java` datasource as a reference. + ## getReleases The minimum exported interface for a datasource is a function called `getReleases` that takes a lookup config as input. -- GitLab