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', },};