[Vuejs]-Vue's script and style 0 tab indent error with Prettier

3👍

I found an answer which works for my config.

Just need to add this code to rules of eslint’s config.

'prettier/prettier': [
  'error',
  {
    vueIndentScriptAndStyle: false,
  },
],

Leave a comment