Skip to content

Commit

Permalink
deps: update eslint-config-airbnb-base to version 10.0.1 🚀 (#503)
Browse files Browse the repository at this point in the history
* chore(package): update eslint-config-airbnb-base to version 10.0.1

https://greenkeeper.io/

* fix: linter errors
  • Loading branch information
greenkeeperio-bot authored and zacharygolba committed Nov 9, 2016
1 parent b743557 commit dea0835
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"babel-preset-lux": "1.3.0",
"chai": "3.5.0",
"codecov": "1.0.1",
"eslint-config-airbnb-base": "9.0.0",
"eslint-config-airbnb-base": "10.0.1",
"eslint-plugin-flowtype": "2.25.0",
"eslint-plugin-import": "2.2.0",
"faker": "3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/packages/compiler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import { rmrf, exists, readdir, readdirRec, isJSFile } from '../fs';
import template from '../template';
import uniq from '../../utils/uniq';

import onwarn from './utils/handle-warning';
import normalizePath from './utils/normalize-path';
import createManifest from './utils/create-manifest';
import createBootScript from './utils/create-boot-script';
import { default as onwarn } from './utils/handle-warning';

/**
* @private
Expand Down
5 changes: 2 additions & 3 deletions src/packages/router/definitions/context/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import Namespace from '../../namespace';
import K from '../../../../utils/k';
import type { Router$Namespace } from '../../index'; // eslint-disable-line max-len, no-unused-vars
import type { Router$DefinitionBuilder } from '../interfaces';
import {
default as ControllerMissingError
} from '../../../../errors/controller-missing-error';
import ControllerMissingError
from '../../../../errors/controller-missing-error';

import createDefinitionGroup from './utils/create-definition-group';
import normalizeResourceArgs from './utils/normalize-resource-args';
Expand Down
6 changes: 3 additions & 3 deletions src/packages/template/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const trailingWhitespace = /\s+$/;
* @private
*/
export default function template(
strings: Array<string>,
...values: Array<mixed>
) {
strings: Array<string>,
...values: Array<mixed>
): string {
const compiled = insertValues(strings, ...values);
let [body] = compiled.match(bodyPattern) || [];
let indentLevel = /^\s{0,4}(.+)$/g;
Expand Down

0 comments on commit dea0835

Please sign in to comment.