Skip to content

Commit

Permalink
chore: suppress lint rule in theme-gen.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mym0404 committed Mar 25, 2024
1 parent 7838a97 commit 01cfc00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/theme-gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,17 @@ function addLine(str, added, backward = false) {
}

function print(...args) {
// eslint-disable-next-line no-console
console.log(`\x1B[35m[${_printTag}]`, ...args, '\x1B[0m');
}

function printSuccess(...args) {
// eslint-disable-next-line no-console
console.log(`\x1B[32m[${_printTag}]`, ...args);
}

function printError(...args) {
// eslint-disable-next-line no-console
console.log(`⚠️ [${_printTag}]`, ...args);
}

Expand Down

0 comments on commit 01cfc00

Please sign in to comment.