Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4646 from jasonLaster/lints
Browse files Browse the repository at this point in the history
Add small lint fixes
  • Loading branch information
bomsy authored Nov 9, 2017
2 parents 26e1b1d + d5d18b5 commit 1cf85af
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
16 changes: 8 additions & 8 deletions src/actions/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ import type { SymbolDeclaration, AstLocation } from "../workers/parser";
*/

/**
* Argument parameters via Thunk middleware for {@link https://github.com/gaearon/redux-thunk|Redux Thunk}
*
* @memberof actions/breakpoints
* @static
* @typedef {Object} ThunkArgs
*/
* Argument parameters via Thunk middleware for {@link https://github.com/gaearon/redux-thunk|Redux Thunk}
*
* @memberof actions/breakpoints
* @static
* @typedef {Object} ThunkArgs
*/
export type ThunkArgs = {
dispatch: (action: any) => Promise<any>,
getState: () => State,
Expand Down Expand Up @@ -261,8 +261,8 @@ export type ProjectTextSearchAction = {
type: "ADD_SEARCH_RESULT",
result: ProjectTextSearchResult
} & {
type: "CLEAR_QUERY"
};
type: "CLEAR_QUERY"
};

export type FileTextSearchAction =
| {
Expand Down
3 changes: 2 additions & 1 deletion src/components/SecondaryPanes/Expressions.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ class Expressions extends PureComponent<Props, State> {
disableWrap={true}
disabledFocus={true}
onDoubleClick={(items, options) =>
this.editExpression(expression, options)}
this.editExpression(expression, options)
}
openLink={openLink}
getObjectProperties={id => loadedObjects[id]}
loadObjectProperties={loadObjectProperties}
Expand Down
4 changes: 3 additions & 1 deletion src/workers/parser/utils/formatSymbols.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export function formatSymbols(source: Source) {
const name = symbol.name || "";
const names = symbol.specifiers ? symbol.specifiers.join(", ") : "";

return `${loc} ${exprLoc} ${expression} ${name}${params} ${klass} ${names}`.trim(); // eslint-disable-line max-len
return `${loc} ${exprLoc} ${expression} ${name}${params} ${klass} ${
names
}`.trim(); // eslint-disable-line max-len
}

return Object.keys(symbols)
Expand Down

0 comments on commit 1cf85af

Please sign in to comment.