Created
June 1, 2017 14:18
-
-
Save egardner/67cb8af9d5ee762ed5965376373ac538 to your computer and use it in GitHub Desktop.
ESLint Files
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
Show hidden characters
{ | |
"presets": ["babel-preset-expo"], | |
"env": { | |
"development": { | |
"plugins": ["transform-react-jsx-source"] | |
} | |
} | |
} |
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
class One extends React.Component { | |
// This triggers the error: "Parsing error: Unexpected token =" | |
static navigationOptions = { | |
title: 'First Screen' | |
} | |
} |
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
extends: standard | |
plugins: | |
- standard | |
- promise | |
- react | |
rules: | |
"react/jsx-uses-vars": 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment