From 35d7a63d00bdc77be8a741d844c632bcf03de285 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Tue, 26 Dec 2017 06:28:28 +0100
Subject: [PATCH] docs: add warning about config.js and extends

---
 docs/configuration.md     | 2 +-
 lib/config/definitions.js | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/configuration.md b/docs/configuration.md
index 9650b6e49f..c557b0d195 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -111,7 +111,7 @@ location with this method.
 </tr>
 <tr>
   <td>`extends`</td>
-  <td>Configuration presets to use/extend</td>
+  <td>Configuration presets to use/extend. Note: does not work if configured in config.js</td>
   <td>list</td>
   <td><pre>[]</pre></td>
   <td>`RENOVATE_EXTENDS`</td>
diff --git a/lib/config/definitions.js b/lib/config/definitions.js
index fb9cb44513..44be7fcbf6 100644
--- a/lib/config/definitions.js
+++ b/lib/config/definitions.js
@@ -19,7 +19,8 @@ module.exports = {
 const options = [
   {
     name: 'extends',
-    description: 'Configuration presets to use/extend',
+    description:
+      'Configuration presets to use/extend. Note: does not work if configured in config.js',
     stage: 'package',
     type: 'list',
     allowString: true,
-- 
GitLab