I have react-native code. I install ESLint. I use it but its show error.
While I use single quotes it show me error
And when I use double qoutes it show me another error
String must use singlequote. eslint(quotes)
here is the screenshot:
What i want is, how to remove error messages about using single quotes? I prefer using single quotes instead double quotes.
In your ESLint configuration you want:
In you Pretty configuration you want:
You should also be consistent in your use of quotes, so you should use single quotes in the second
import App from './App';