Skip to content

Commit fea5350

Browse files
committed
Fix linting issues
1 parent 99a2892 commit fea5350

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

packages/welcome/lib/sunsetting-view.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default class SunsettingView {
88
this.props = props;
99
etch.initialize(this);
1010

11-
this.element.addEventListener('click', (event) => {
11+
this.element.addEventListener('click', event => {
1212
const link = event.target.closest('a');
1313
if (link && link.dataset.event) {
1414
this.props.reporterProxy.sendEvent(
@@ -27,7 +27,7 @@ export default class SunsettingView {
2727
serialize() {
2828
return {
2929
deserializer: 'SunsettingView',
30-
uri: this.props.uri,
30+
uri: this.props.uri
3131
};
3232
}
3333

packages/welcome/lib/welcome-package.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,31 @@ export default class WelcomePackage {
1919
this.subscriptions = new CompositeDisposable();
2020

2121
this.subscriptions.add(
22-
atom.workspace.addOpener((filePath) => {
22+
atom.workspace.addOpener(filePath => {
2323
if (filePath === SUNSETTING_URI) {
2424
return this.createSunsettingView({ uri: SUNSETTING_URI });
2525
}
2626
})
2727
);
2828

2929
this.subscriptions.add(
30-
atom.workspace.addOpener((filePath) => {
30+
atom.workspace.addOpener(filePath => {
3131
if (filePath === WELCOME_URI) {
3232
return this.createWelcomeView({ uri: WELCOME_URI });
3333
}
3434
})
3535
);
3636

3737
this.subscriptions.add(
38-
atom.workspace.addOpener((filePath) => {
38+
atom.workspace.addOpener(filePath => {
3939
if (filePath === GUIDE_URI) {
4040
return this.createGuideView({ uri: GUIDE_URI });
4141
}
4242
})
4343
);
4444

4545
this.subscriptions.add(
46-
atom.workspace.addOpener((filePath) => {
46+
atom.workspace.addOpener(filePath => {
4747
if (filePath === CONSENT_URI) {
4848
return this.createConsentView({ uri: CONSENT_URI });
4949
}
@@ -75,7 +75,7 @@ export default class WelcomePackage {
7575
return Promise.all([
7676
atom.workspace.open(WELCOME_URI, { split: 'left' }),
7777
atom.workspace.open(SUNSETTING_URI, { split: 'left' }),
78-
atom.workspace.open(GUIDE_URI, { split: 'right' }),
78+
atom.workspace.open(GUIDE_URI, { split: 'right' })
7979
]);
8080
}
8181

packages/welcome/lib/welcome-view.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default class WelcomeView {
88
this.props = props;
99
etch.initialize(this);
1010

11-
this.element.addEventListener('click', (event) => {
11+
this.element.addEventListener('click', event => {
1212
const link = event.target.closest('a');
1313
if (link && link.dataset.event) {
1414
this.props.reporterProxy.sendEvent(
@@ -27,7 +27,7 @@ export default class WelcomeView {
2727
serialize() {
2828
return {
2929
deserializer: 'WelcomeView',
30-
uri: this.props.uri,
30+
uri: this.props.uri
3131
};
3232
}
3333

0 commit comments

Comments
 (0)