delete cr eslint(prettier/prettier)
.prettierrc { .. "endOfLine":"auto" .. }
Source: stackoverflow.com
delete cr
//edit .eslintrc.js module.exports = { root: true, extends: '@react-native-community', rules: {'prettier/prettier': ['error', {endOfLine: 'auto'}]}, //add this line };