Skip to content

Instantly share code, notes, and snippets.

@ulcuber
Created March 19, 2019 10:07
Show Gist options
  • Save ulcuber/a5e0b91bc40ad812937d65df065283a9 to your computer and use it in GitHub Desktop.
Save ulcuber/a5e0b91bc40ad812937d65df065283a9 to your computer and use it in GitHub Desktop.
TypeScript+React eslint config for create-react-app project
// npm i --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'plugin:@typescript-eslint/recommended',
'react-app',
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment