mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-24 21:48:02 +02:00
refactor: remove sub-eslintrc, fix more lint errors (#7530)
This commit is contained in:
parent
f443e992b9
commit
9023b7740c
20 changed files with 129 additions and 92 deletions
|
@ -128,11 +128,11 @@ function newLine(): void {
|
|||
}
|
||||
|
||||
const logger = {
|
||||
red: chalk.red,
|
||||
yellow: chalk.yellow,
|
||||
green: chalk.green,
|
||||
bold: chalk.bold,
|
||||
dim: chalk.dim,
|
||||
red: (msg: string | number): string => chalk.red(msg),
|
||||
yellow: (msg: string | number): string => chalk.yellow(msg),
|
||||
green: (msg: string | number): string => chalk.green(msg),
|
||||
bold: (msg: string | number): string => chalk.bold(msg),
|
||||
dim: (msg: string | number): string => chalk.dim(msg),
|
||||
path,
|
||||
url,
|
||||
name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue