Skip to content

Instantly share code, notes, and snippets.

@egardner
Created June 1, 2017 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egardner/67cb8af9d5ee762ed5965376373ac538 to your computer and use it in GitHub Desktop.
Save egardner/67cb8af9d5ee762ed5965376373ac538 to your computer and use it in GitHub Desktop.
ESLint Files
{
"presets": ["babel-preset-expo"],
"env": {
"development": {
"plugins": ["transform-react-jsx-source"]
}
}
}
class One extends React.Component {
// This triggers the error: "Parsing error: Unexpected token ="
static navigationOptions = {
title: 'First Screen'
}
}
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