Skip to content

Instantly share code, notes, and snippets.

@mattb
Created May 26, 2017 18:41
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 mattb/dbeb5f15607f33cff5ba2dc2d7cc155e to your computer and use it in GitHub Desktop.
Save mattb/dbeb5f15607f33cff5ba2dc2d7cc155e to your computer and use it in GitHub Desktop.
{
"parserOptions": {
"ecmaVersion": 8
},
"env": {
"jest": true,
"browser": true,
"es6": true,
"node": true
},
"extends": [
"airbnb",
"prettier"
],
"rules": {
"quotes": [
2,
"single"
],
"react/jsx-filename-extension": "off",
"semi": [
2,
"always"
],
"no-console": "off",
"react/no-unescaped-entities": "off",
"camelcase": "off",
"comma-dangle": "off",
"no-restricted-syntax": [
"error",
"LabeledStatement",
"WithStatement"
],
"arrow-parens": [
"error",
"as-needed"
],
"prettier/prettier": [
"error",
{
"singleQuote": true
}
]
},
"plugins": [
"prettier"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment