Skip to content

Instantly share code, notes, and snippets.

@mattb mattb/.eslintrc
Created May 26, 2017

Embed
What would you like to do?
{
"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
You can’t perform that action at this time.