Quantcast
Viewing all articles
Browse latest Browse all 5

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

Viewing all articles
Browse latest Browse all 5

Trending Articles