Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set prefer-template to off for es5 #22

Merged
merged 1 commit into from
Nov 21, 2017

Conversation

markowsiak
Copy link
Contributor

No description provided.

@jkrems
Copy link
Contributor

jkrems commented Nov 20, 2017

Can we add a test for this? Potentially including a --fix test?

es5.js Outdated
@@ -57,5 +57,8 @@ module.exports = Object.assign({

// Additional mistakes
'node/no-unsupported-features': [2, { version: 4 }],

// Set Prefer Template to off -- currently 'on' via conventions
'prefer-template': 'off'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd probably put this up in the // Additional conventions "paragraph"

Copy link
Contributor

@jkrems jkrems Nov 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Even though it is a syntax error (mistake) in ES5, enabling the rule was a convention so the override is also a convention..?

@markowsiak markowsiak force-pushed the mo-prefer-template-off-in-es5 branch 2 times, most recently from 9242b1a to 0c19e2b Compare November 20, 2017 22:26
@markowsiak markowsiak merged commit 2ccea06 into groupon:master Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants