Commit Graph

174 Commits

Author SHA1 Message Date
Rhys Arkins 982e36963d chore: re-enable eslint no-console 2021-11-09 07:48:31 +01:00
HonkingGoose ab018191fa chore: report and fix unused ESLint disable directives (#12548) 2021-11-08 20:20:03 +01:00
Michael Kriese 82e89825ab chore: remove airbnb (#12557) 2021-11-08 13:03:55 +00:00
Michael Kriese 7afc2b75d5 test: fix lint (#12551) 2021-11-08 13:16:58 +01:00
Florian Greinacher 70700eedae feat(config)!: make host rule detection configurable and opt-in (#12294)
Add configuration option `detectHostRulesFromEnv`.

BREAKING CHANGE: `hostRules` are no longer automatically derived from env variables such as `NPM_X_TOKEN`. Set `detectHostRulesFromEnv=true` in config to re-enable same functionality.
2021-11-05 08:10:27 +01:00
RahulGautamSingh 91f067b39f fix: refactor regex to use re2 part3 (#12283)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-27 14:37:11 +00:00
Oleg Krivtsov 29dde2f694 test: improve test readability with expect-more-jest (#12329) 2021-10-27 07:24:36 +02:00
Florian Greinacher 42fd18d101 refactor: encapsulate hostRulesFromEnv (#12277) 2021-10-23 06:38:23 +00:00
Sergei Zharinov 6f649eb661 feat(platform): Use uniform platformAutomerge option (#12069)
Existing `azureAutoComplete` and `gitLabAutomerge` options are now unified/renamed to `platformAutomerge`, and also defaulting to `true`.

BREAKING CHANGE: Azure autocomplete will now only be enabled when `automerge` is also enabled (to align with how GitLab automerge already worked). If you were using `azureAutoComplete` before without explicitly enabling Renovate `automerge` field then you will now need to do so. Platform automerge is now the default behavior whenever automerge is enabled.
2021-10-11 06:36:07 +00:00
Sergei Zharinov 1b6ea2447f refactor(config): Better prefix handling and enhanced coverage (#12083) 2021-10-09 09:08:00 +02:00
Maksim 1f86b71fd5 refactor: constants (#11690) 2021-10-06 07:43:32 +02:00
Rhys Arkins cd72cdf2ac feat(config): detectGlobalManagerConfig (#11951) 2021-09-29 19:58:42 +00:00
Rhys Arkins 7b3e14c5cc logs: global env hostRules 2021-09-17 11:19:27 +02:00
Rhys Arkins ee29fdcaf1 feat(config): scoped secrets using pgp/gpg (#11673) 2021-09-16 10:11:13 +00:00
Rhys Arkins cdc083f40f feat(config): privateKeyOld (#11653) 2021-09-10 12:47:33 +02:00
Michael Kriese 11aa3baf2e test: use codeql compatible token / passwords (#11297) 2021-09-09 16:17:05 +02:00
Rhys Arkins ea6863b367 test: fix config.js test for when it's present (#11466) 2021-08-29 21:57:34 +02:00
Wei Kang 5d9eeb030c feat: fatal error config not found (#11462)
* fatal error and exit when config not found

* update file.ts

* fix fatal error and exit only for custom config file

* update test name to be clearer for custom file only

* revert changes for no config file found

* update test name to be clearer

* add space between test as suggested

* fix test due to invalid file

* fix typo

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-29 11:23:49 +00:00
Sergei Zharinov 5f4b9f9a3a test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Rhys Arkins 750bc1656e refactor: config/definitions -> config/options 2021-08-17 07:57:45 +02:00
Sergei Zharinov 1392955a04 refactor: Identify tests relying on single snapshots (#11150)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-08-07 23:43:34 +00:00
Sergei Zharinov 31785b8742 fix(config): Replace '__' to '_' globally when decoding hostRules from env (#10939) 2021-07-23 10:09:30 +00:00
Michael Kriese 876c2f40a5 fix: update cli help (#10444) 2021-06-15 15:34:49 +02:00
Rhys Arkins 11694e9294 refactor: move config/parse into global worker (#10282) 2021-06-02 12:06:16 +02:00