Comments (4)
Hi @rndmerle
can you send me a complete .vue file as "test data" for me? – Maybe I can fix your issue then.
from import-sort.
Here is one. Thanks :)
<template>
<div class="badge">
<span v-if="content" :class="labelPositioning">{{ content }}</span>
<slot></slot>
</div>
</template>
<script lang="ts">
import Vue from "vue";
import { Component, Prop } from "vue-property-decorator";
@Component
export default class Badge extends Vue {
@Prop() content: string;
get labelPositioning(): string {
return this.$slots.default ? "hooked" : "free";
}
}
</script>
from import-sort.
same problem, in VSCode
from import-sort.
Let's discuss this in #66 – actual support for Vue would be great.
from import-sort.
Related Issues (20)
- case-insensitive rule in esLintConfig is being ignored (eslint version issue?)
- SyntaxError: Decorators cannot be used to decorate parameters (60:14) HOT 2
- feat: Reference import-sort config file by path HOT 1
- Add support for `import/order` rule from `eslint-plugin-import` for `import-sort-style-eslint`
- Stage 2 decorators cannot be used to decorate parameters
- [Bug] Imports sorting order issue
- [Bug] Integrated lexer fails to properly handle 'abstract' + 'async ' typescript keyword.
- [QUESTION] Is it possible that import-sort automatically remove unused imports ?
- Is this project active anymore? HOT 3
- Error: Cannot find module '@babel/plugin-proposal-do-expressions'
- Integration as an eslint plugin HOT 4
- interleave code between imports
- Combining imports from the same file HOT 2
- Unclear how to set style when using the CLI HOT 2
- Don't Change Destructured Import `__` to `_` HOT 2
- eslint sorting without newline group seperators
- Support TypeScript 4.5
- Breaks TypeScript module declarations
- TypeError: Cannot set properties of undefined (setting 'id')
- Cannot find module 'typescript' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from import-sort.