An basic and opinionated React TypeScript eslint config for my personal use.
npm i -D https://github.com/wnyao/eslint-config-wnyao.git
Install eslint-config-wnyao
in your package
devDependencies: {
"eslint-config-wnyao": "^0.0.0"
}
Add to your eslint config :
module.exports = {
extends: 'wnyao',
...
};
Make sure the following JSON is added into your local settings file:
"eslint.validate": ["typescript", "typescriptreact"],