Answer by Badal Saibo for How can I disable the error (prettier/prettier) on...
So I had both eslint-plugin-prettier and eslint-config-prettier on my package.json as devdependencies. I removed the eslint-config-prettier and it seemed to work for me.//.eslintrc.jsmodule.exports = {...
View ArticleAnswer by wozniaklukasz for How can I disable the error (prettier/prettier)...
To get rid of conflicting rules when using both - prettier and eslint there is a eslint-config-prettier package.Run npm install --save-dev eslint-config-prettier to install and then in eslintrc.js (or...
View ArticleAnswer by DBrown for How can I disable the error (prettier/prettier) on eslint?
Instead of disabling linting for the file, you can instead disable prettier within the eslintrc.js config file:module.exports = { root: true, extends: '@react-native-community', rules:...
View ArticleHow can I disable the error (prettier/prettier) on eslint?
While coding, I was not using eslint. Now I installed it and it has flooded my editor with prettier/prettier errors, which by no way seem like they make my code prettier. I am looking to find a way to...
View ArticleAnswer by Faisal Murad for How can I disable the error (prettier/prettier) on...
There is another easy and effective way to restrict prettier errors, as I was unable to locate my eslint.js or eslint.json file.Create a file named .prettierignore in the root of the projectNow paste...
View Article