Turn off prettier in React Native Projects
Added the following to eslintrc.js will turn off prettier for react native projects.
rules: {
'prettier/prettier': 0,
}
Full content in eslintrc.js with prettier turned off.
module.exports = {
root: true,
extends: '@react-native',
rules: {
'prettier/prettier': 0,
},
};
Search within Codexpedia
Custom Search
Search the entire web
Custom Search
Related Posts