Created
September 18, 2019 19:58
-
-
Save michal-wrzosek/db5e717d75e88219535354fc76490610 to your computer and use it in GitHub Desktop.
Create React App Boilerplate - ./.eslintrc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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