Created
October 12, 2017 20:22
-
-
Save SherryH/d06956134c0bb83db23bebcb6809eec0 to your computer and use it in GitHub Desktop.
Configuration to integrate eslint with flow for developing React using webpack
This file contains hidden or 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
Show hidden characters
{ | |
"extends": ["airbnb", "plugin:flowtype/recommended"], | |
"parserOptions": { | |
"ecmaVersion": 7, | |
"sourceType": "module", | |
"ecmaFeatures": { "jsx": true, "modules": true } | |
}, | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"es6": true | |
}, | |
"plugins": ["flowtype"], | |
"rules": { | |
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment