Open reboottime opened 1 year ago
tsconfig.json
module.exports = {
// ...
settings: {
'import/resolver': {
alias: {
// here you map your folder structure
map: [['@', './src']],
extensions: ['.ts', '.js', '.jsx', '.json'],
},
},
},
};
eslint
configuration template for React projecthttps://gist.github.com/reboottime/4e87c596460f12014328de48fe4b02b7
can you give me a basic guideline about configuring eslint for my react project created by create-react-app
Install corresponding packages and setup your basic configuration
Run the following command and choose the options that align with your needs
Install corresponding packages
After adding your eslint configration file,
eslintConfig
section in your package.json file