You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<script>
import Swiper, {Navigation,Pagination,Autoplay,Keyboard, } from'swiper'; // <-- This line will throw an error.// ...<script>
What did you expect to happen?
No linting error is given, since all idents are correct (closing bracket aligns with import line).
What actually happened?
A warning is given, that the closing bracket should be indented by one more step. This only happens if you import the default export and named exports at the same time.
Checklist
Tell us about your environment
Please show your full configuration:
ESLint config
What did you do?
What did you expect to happen?
No linting error is given, since all idents are correct (closing bracket aligns with
import
line).What actually happened?
A warning is given, that the closing bracket should be indented by one more step. This only happens if you import the default export and named exports at the same time.
Playground example (line 20)
Repository to reproduce this issue
You can use the following repository and branch to reproduce:
https://github.com/valantic/vue-template/tree/bugreport/eslint-plugin-vue_vue-script-indent
The error appears in the following files, when running
npm run test
:The text was updated successfully, but these errors were encountered: