codeclimate-duplication
codeclimate-duplication copied to clipboard
Javascript Code in vuejs Components
Hello,
Is it possible to use the duplication engine on JS-Code in *.vue
files?
https://vuejs.org/v2/guide/single-file-components.html
@kpilard Thank you for writing. Currently, we don't support duplication on *.vue
files but I'll make sure this feedback is added to our board for consideration (@davehenton can you help me with this? thanks!) .
In the meantime, you could use ESLint plugin by adding a .codeclimate.yml
and including the *.vue
extension
eslint:
enabled: true
config:
extensions:
- .vue
Thank you again and if you have any other question feel free to reach out our support team.
What is current state of this? Vue is getting pretty popular :) @ale7714 @davehenton
Some news ? Is it officially in the roadmap ?
Any updates on this one?
Hi @saharhage - thanks for checking in on this! I don't see it on the roadmap, but I'm asking the team to take another look at this.
Hello @efueger. Thanks for your reply! I'm facing some issues with connecting my Nuxtjs project to codeclimate. Do you have any idea how can we make a workaround to have a code climate coverage on the .vue files (the script with language ts)? Is there any workaround to do that or it's not implemented at all? Thanks!
Hi @saharhage - generally, Code Climate checks (and plugins) aren't limited to specific frameworks, but instead consider the languages used in your project.
If you've added your repo to Code Climate and see errors or unexpected issues, send an email to [email protected] with:
- your repo info (URL)
- and links to the errors/issues you're seeing
Happy to take a closer look. 👍🏼