Skip to content

Instantly share code, notes, and snippets.

@michal-wrzosek
Created September 18, 2019 19:58
Show Gist options
  • Save michal-wrzosek/db5e717d75e88219535354fc76490610 to your computer and use it in GitHub Desktop.
Save michal-wrzosek/db5e717d75e88219535354fc76490610 to your computer and use it in GitHub Desktop.
Create React App Boilerplate - ./.eslintrc.js
module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
],
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
settings: {
react: {
version: 'detect',
},
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment