Skip to content

Commit

Permalink
Enable lint to prevent extra blank lines and fix cases
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospassos authored Apr 19, 2020
1 parent c8a2f12 commit 1af6913
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"no-bitwise": "off",
"no-continue": "off",
"no-dupe-class-members": "off",
"no-multiple-empty-lines": ["error", {"max": 1}],
"no-plusplus": ["error", {"allowForLoopAfterthoughts": true}],
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
"no-unused-vars": "off",
Expand All @@ -79,4 +80,4 @@
}
}
]
}
}
1 change: 0 additions & 1 deletion src/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ function extractMessage(error: unknown): string {
return 'unknown error';
}


export function formatMessage(error: unknown): string {
const message = extractMessage(error);

Expand Down
1 change: 0 additions & 1 deletion src/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export const pageEventTypes = [
'pageOpened',
] as const;


export const tabEventTypes = [
'tabOpened',
'tabUrlChanged',
Expand Down
1 change: 0 additions & 1 deletion src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ function validateConfiguration(configuration: unknown): asserts configuration is
}
}


export default class Sdk {
private container: Container;

Expand Down

0 comments on commit 1af6913

Please sign in to comment.