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

Remove useless code when lint is not chosen #1165

Merged
merged 1 commit into from
Dec 14, 2017

Conversation

Toilal
Copy link
Contributor

@Toilal Toilal commented Dec 13, 2017

No description provided.

@@ -8,7 +8,7 @@ function resolve (dir) {
return path.join(__dirname, '..', dir)
}

const createLintingRule = () => ({
{{#lint}}const createLintingRule = () => ({
Copy link
Contributor

Choose a reason for hiding this comment

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

There's a call to that function further below in the rules section, that should be wrapped in the same handlebars check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's already wrapped

Copy link
Contributor

Choose a reason for hiding this comment

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

Right, my mistake. Thanks.

@LinusBorg LinusBorg merged commit 98a8064 into vuejs-templates:develop Dec 14, 2017
LinusBorg added a commit that referenced this pull request Dec 14, 2017
* develop:
  correct wording for #1155
  bump version to 1.2.7
  remove eventsource-polyfill (#1169)
  Remove useless code when lint is not chosen (#1165)
  Set spawn opt shell as true to avoid ENOENT (#1170)
  restore gitignore
  [WIP] Accurate CompleteMsg when not using autoInstall (fix #1157) (#1158)
  close #1155
@Toilal Toilal deleted the eslint-disabled branch January 15, 2018 11:42
shenron pushed a commit to shenron/webpack that referenced this pull request Mar 20, 2018
shenron pushed a commit to shenron/webpack that referenced this pull request Mar 20, 2018
* develop:
  correct wording for vuejs-templates#1155
  bump version to 1.2.7
  remove eventsource-polyfill (vuejs-templates#1169)
  Remove useless code when lint is not chosen (vuejs-templates#1165)
  Set spawn opt shell as true to avoid ENOENT (vuejs-templates#1170)
  restore gitignore
  [WIP] Accurate CompleteMsg when not using autoInstall (fix vuejs-templates#1157) (vuejs-templates#1158)
  close vuejs-templates#1155
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants