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

Completion hooks aborted by linting errors. #937

Closed
naeramarth7 opened this issue Mar 3, 2018 · 1 comment
Closed

Completion hooks aborted by linting errors. #937

naeramarth7 opened this issue Mar 3, 2018 · 1 comment

Comments

@naeramarth7
Copy link

Version

3.0.0-beta.3

Steps to reproduce

Create a new project with vue create.

  • select at least TypeScript, PWA and Linting
  • select ESLint Airbnb config
  • select lint on save

What is expected?

Project should be created.

What is actually happening?

Project is created though completing hook will be aborted with the following error:

⠋  Running completion hooks...error: Unexpected use of file extension "ts" for "./registerServiceWorker.ts" (import/extensions) at vuedit/src/main.ts:5:8:
  3 | import router from './router';
  4 | import store from './store';
> 5 | import './registerServiceWorker.ts';
    |        ^
  6 |
  7 | Vue.config.productionTip = false;
  8 |```

<!-- generated by vue-issues. DO NOT REMOVE -->
@naeramarth7
Copy link
Author

@yyx990803 Holy shit, that was fast!

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

No branches or pull requests

1 participant