Answer the question
In order to leave comments, you need to log in
How to set up prettier and eslint for Vue components?
Good morning.
There is a project with Eslint on it, which pulls Prettier along with it. I want Prettier \ Eslint to support the following structure:
import { SomethingMinor } from '@vendor/library`;
export default {
components: {
SomethingMinor.
}
}
'object-property-newline': [
'error',
{ allowAllPropertiesOnSameLine: false },
],
import {
Something
} from 'something';
components: { ComponentA, Component B },
...mapState('some', { 'foo': 'bar', 'bar': 'baz' }
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question