Bump eslint-config-babel and fix lint (#5129)

This commit is contained in:
Brian Ng
2017-01-17 03:51:16 -06:00
committed by Daniel Tschinder
parent 2457c8ee14
commit 8c35b320d3
20 changed files with 31 additions and 31 deletions

View File

@@ -109,7 +109,7 @@ describe("babel-code-frame", function () {
it("opts.highlightCode", function () {
const rawLines = "console.log('babel')";
const result = codeFrame(rawLines, 1, 9, {highlightCode: true});
const result = codeFrame(rawLines, 1, 9, { highlightCode: true });
const stripped = chalk.stripColor(result);
assert.ok(result.length > stripped.length);
assert.equal(stripped, [