DEV Community

Discussion on: How to use ESLint and Prettier for code analysis and formatting

Collapse
 
thec0def0x profile image
CodeFox • Edited

Some strange things have been happening recently with me and eslint. Apparently Microsoft’s ESLint in VSC has prettier within it but it keeps conflicting with my prettier formatter. So for example I had an empty class and the formatter would set the curly braces to { } with a space meanwhile eslint prettier would be coming up red telling me to remove the space. It’s been pretty frustrating and happened out of nowhere 🤔