Answer the question
In order to leave comments, you need to log in
What's the conflict between prettier and eslint?
eslint swears at errors
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 questionAsk a Question
731 491 924 answers to any question