J
J
jekanok2020-05-05 11:55:54
JavaScript
jekanok, 2020-05-05 11:55:54

What's the conflict between prettier and eslint?

eslint swears at errors 5eb1296713179895264196.png
can you tell me how to fix it?

module.exports = {
  root: true,
  env: {
    browser: true,
    node: true
  },
  parserOptions: {
    parser: 'babel-eslint'
  },
  extends: [
    '@nuxtjs',
    'prettier',
    'prettier/vue',
    'plugin:prettier/recommended',
    'plugin:nuxt/recommended'
  ],
  plugins: [
    'prettier',"vue"
  ],
  // add your custom rules here
  rules: {
    'nuxt/no-cjs-in-config': 'off',
    "indent": [2,"tab"],


    
  }
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question