diff --git a/packages/welcome/lib/sunsetting-view.js b/packages/welcome/lib/sunsetting-view.js index 04019ac62ae..fa7697d61e8 100644 --- a/packages/welcome/lib/sunsetting-view.js +++ b/packages/welcome/lib/sunsetting-view.js @@ -8,7 +8,7 @@ export default class SunsettingView { this.props = props; etch.initialize(this); - this.element.addEventListener('click', (event) => { + this.element.addEventListener('click', event => { const link = event.target.closest('a'); if (link && link.dataset.event) { this.props.reporterProxy.sendEvent( @@ -27,7 +27,7 @@ export default class SunsettingView { serialize() { return { deserializer: 'SunsettingView', - uri: this.props.uri, + uri: this.props.uri }; } diff --git a/packages/welcome/lib/welcome-package.js b/packages/welcome/lib/welcome-package.js index 3792ff7772a..8493f84cf9f 100644 --- a/packages/welcome/lib/welcome-package.js +++ b/packages/welcome/lib/welcome-package.js @@ -19,7 +19,7 @@ export default class WelcomePackage { this.subscriptions = new CompositeDisposable(); this.subscriptions.add( - atom.workspace.addOpener((filePath) => { + atom.workspace.addOpener(filePath => { if (filePath === SUNSETTING_URI) { return this.createSunsettingView({ uri: SUNSETTING_URI }); } @@ -27,7 +27,7 @@ export default class WelcomePackage { ); this.subscriptions.add( - atom.workspace.addOpener((filePath) => { + atom.workspace.addOpener(filePath => { if (filePath === WELCOME_URI) { return this.createWelcomeView({ uri: WELCOME_URI }); } @@ -35,7 +35,7 @@ export default class WelcomePackage { ); this.subscriptions.add( - atom.workspace.addOpener((filePath) => { + atom.workspace.addOpener(filePath => { if (filePath === GUIDE_URI) { return this.createGuideView({ uri: GUIDE_URI }); } @@ -43,7 +43,7 @@ export default class WelcomePackage { ); this.subscriptions.add( - atom.workspace.addOpener((filePath) => { + atom.workspace.addOpener(filePath => { if (filePath === CONSENT_URI) { return this.createConsentView({ uri: CONSENT_URI }); } @@ -75,7 +75,7 @@ export default class WelcomePackage { return Promise.all([ atom.workspace.open(WELCOME_URI, { split: 'left' }), atom.workspace.open(SUNSETTING_URI, { split: 'left' }), - atom.workspace.open(GUIDE_URI, { split: 'right' }), + atom.workspace.open(GUIDE_URI, { split: 'right' }) ]); } diff --git a/packages/welcome/lib/welcome-view.js b/packages/welcome/lib/welcome-view.js index 671953c04d3..1a03879613b 100644 --- a/packages/welcome/lib/welcome-view.js +++ b/packages/welcome/lib/welcome-view.js @@ -8,7 +8,7 @@ export default class WelcomeView { this.props = props; etch.initialize(this); - this.element.addEventListener('click', (event) => { + this.element.addEventListener('click', event => { const link = event.target.closest('a'); if (link && link.dataset.event) { this.props.reporterProxy.sendEvent( @@ -27,7 +27,7 @@ export default class WelcomeView { serialize() { return { deserializer: 'WelcomeView', - uri: this.props.uri, + uri: this.props.uri }; }