app/core/components.js
Replace `(screen)` with `screen` (prettier/prettier)
const inputHandler = (screen) => {
Replace `(value)` with `value` (prettier/prettier)
screen.input.on('submit', (value) => {
app/core/screen.js
Replace `(message)` with `message` (prettier/prettier)
this.components.on('message', (message) => this.whir.send(message));
Replace `(message)` with `message` (prettier/prettier)
data.message = data.message.map((message) => chalk.white.bgRed(message));
Replace `⏎······this.muteChannel·?·'\uD83D\uDD07'·:·'\uD83D\uDD09'⏎····` with `this.muteChannel⏎······?·'\uD83D\uDD07'⏎······:·'\uD83D\uDD09'` (prettier/prettier)
const title = `${
app/core/whir.js
Replace `(data)` with `data` (prettier/prettier)
const headers = (data) => ({
Replace `(headers)` with `headers` (prettier/prettier)
.then((headers) => {
Replace `(error)` with `error` (prettier/prettier)
.catch((error) => this.emit('error', error));
Replace `(error)` with `error` (prettier/prettier)
.on('error', (error) => {
Replace `(yes)` with `yes` (prettier/prettier)
return new Promise((yes) => {
Replace `(error)` with `error` (prettier/prettier)
return fs.appendFile(file, `${JSON.stringify(data)}\n`, (error) => {
Replace `(yes)` with `yes` (prettier/prettier)
const fileStream = (yes) =>
app/index.js
Replace `(data)` with `data` (prettier/prettier)
.on('sent', (data) => whir.screen.print(data, { sender: 'me' }))
Replace `(data)` with `data` (prettier/prettier)
.on('received', (data) => whir.screen.print(data))
Replace `(data)` with `data` (prettier/prettier)
.on('alert', (data) => whir.error(data))
Replace `(data)` with `data` (prettier/prettier)
.on('close', (data) => whir.error(data))
Replace `(data)` with `data` (prettier/prettier)
.on('error', (data) => whir.error(data));
app/library/string.js
Replace `(input)` with `input` (prettier/prettier)
emojinize: (input) => input.replace(/:([\w]+):/g, (match, icon) => emoji[icon] || match),
More
Previous Next