Local environment:
- IDE: vscode
- Language mode:
JavasSript React
import React from 'react';
A syntax error message appears:
Replace `'react'` with `"react"`eslint(prettier/prettier)
How can I configure it?
in .eslintrc.js
module.exports = {
root: true,
extends: '@react-native-community',
rules: {
quotes: [1, 'single'],
}
};
Thank you for your answer. Rules
can be solved
But I want to know where @react-native-community
comes from. I didn't see this file.