app/core/components.js
Block must not be padded by blank lines. (padded-blocks)
class Components extends Emitter {
app/core/screen.js
Block must not be padded by blank lines. (padded-blocks)
class Screen {
app/core/whir.js
Use object destructuring. (prefer-destructuring)
const Spinner = require('cli-spinner').Spinner;
Expected a line break after this opening brace. (object-curly-newline)
const getHeaders = async ({ user, channel, pass, store }) => {
Block must not be padded by blank lines. (padded-blocks)
class Whir extends Emitter {
Expected indentation of 6 spaces but found 4. (indent)
.then((headers) => {
Expected indentation of 8 spaces but found 6. (indent)
if (headers.error) {
Expected indentation of 8 spaces but found 6. (indent)
Expected indentation of 8 spaces but found 6. (indent)
console.log();
Expected indentation of 8 spaces but found 6. (indent)
this.spinner = new Spinner(' %s Connecting...');
Expected indentation of 8 spaces but found 6. (indent)
this.spinner.setSpinnerString(18);
Expected indentation of 8 spaces but found 6. (indent)
this.spinner.start();
Expected indentation of 8 spaces but found 6. (indent)
return this.connect(headers);
Expected indentation of 6 spaces but found 4. (indent)
})
Expected indentation of 6 spaces but found 4. (indent)
.catch(error => this.emit('error', error));
app/index.js
Use object destructuring. (prefer-destructuring)
const argv = yargs.options(expect)
app/library/crypto.js
Expected the Promise rejection reason to be an Error. (prefer-promise-reject-errors)
return no(null);
app/library/string.js
Expected a line break after this opening brace. (object-curly-newline)
pad: ({ key, side = 'right', padding = null, char = ' ' }) => {
test/index.js
'use strict' is unnecessary inside of modules. (strict)
'use strict';
Newline required at end of file but not found. (eol-last)
require('should');
More
Previous Next