mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
chore: re-enable eslint no-console
This commit is contained in:
@@ -37,6 +37,7 @@ module.exports = {
|
||||
|
||||
// other rules
|
||||
'consistent-return': 'error',
|
||||
'no-console': 'error',
|
||||
'no-negated-condition': 'error',
|
||||
'no-param-reassign': 'error',
|
||||
'sort-imports': [
|
||||
|
||||
@@ -13,6 +13,8 @@ import { getConfig as getFileConfig } from './workers/global/config/parse/file';
|
||||
|
||||
let returnVal = 0;
|
||||
|
||||
/* eslint-disable no-console */
|
||||
|
||||
async function validate(
|
||||
desc: string,
|
||||
config: RenovateConfig,
|
||||
|
||||
@@ -85,6 +85,7 @@ export function getConfig(input: string[]): AllConfig {
|
||||
}
|
||||
});
|
||||
|
||||
/* eslint-disable no-console */
|
||||
/* istanbul ignore next */
|
||||
function helpConsole(): void {
|
||||
console.log(' Examples:');
|
||||
|
||||
Reference in New Issue
Block a user