Quantcast
Channel: How can I disable the error (prettier/prettier) on eslint? - Stack Overflow
Viewing all articles
Browse latest Browse all 5

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

$
0
0

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: {'prettier/prettier': 0,  },};

Viewing all articles
Browse latest Browse all 5

Trending Articles



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