Quantcast
Viewing all articles
Browse latest Browse all 5

Answer by Badal Saibo for How can I disable the error (prettier/prettier) on eslint?

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 = {  root: true,  extends: ['@react-native', 'prettier'],  rules: {'react/react-in-jsx-scope': 'off','react-native/no-inline-styles': 'off',  },};

Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>