LukeSheard/Monzo-Dashboard

View on GitHub
src/common/api/request.js

Summary

Maintainability
A
0 mins
Test Coverage

Unexpected tab character.
Open

      'Content-Type':    'application/json',
Severity: Minor
Found in src/common/api/request.js by eslint

disallow all tabs (no-tabs)

Some style guides don't allow the use of tab characters at all, including within comments.

Rule Details

This rule looks for tabs anywhere inside a file: code, comments or anything else.

Examples of incorrect code for this rule:

var a /t= 2;

/**
* /t/t it's a test function
*/
function test(){}

var x = 1; // /t test

Examples of correct code for this rule:

var a = 2;

/**
* it's a test function
*/
function test(){}

var x = 1; // test

When Not To Use It

If you have established a standard where having tabs is fine.

Compatibility

TODO found
Open

  // TODO: Deal with error codes
Severity: Minor
Found in src/common/api/request.js by fixme

There are no issues that match your filters.

Category
Status