LunatiqueCoder / luna

Luna - a React Native + Next.js template. Built with TypeScript :heart:
https://luna-gamma.vercel.app/
MIT License
264 stars 17 forks source link

style(lint): remove eslint quotes rules so prettier wins #41

Closed mikehardy closed 2 years ago

mikehardy commented 2 years ago

prettier allows double-quotes on strings if you have a single-quote in the string that you would need to escape. It's subtle, but prettier

eslint was trying to overrule that, so there was a linting battle

this lets prettier win

may not be generally applicable (it only happened to me when doing translations on authentication errors - lots of strings) but it simplifies the config so it seems reasonable to have it in the base layer of the templates