Skip to content

Instantly share code, notes, and snippets.

@brittanydionigi
Last active September 16, 2017 18:01
Show Gist options
  • Save brittanydionigi/f5adfb17544da359b5c4aaa9ee91ed37 to your computer and use it in GitHub Desktop.
Save brittanydionigi/f5adfb17544da359b5c4aaa9ee91ed37 to your computer and use it in GitHub Desktop.
Mod2 Eslint
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"react"
],
"env": {
"browser": true,
"mocha": true,
"node": true,
"es6": true
},
// Having a problem with one of these rules? Learn more about it here: https://eslint.org/docs/rules/
"rules": {
"eqeqeq": ["error", "always"],
"getter-return": ["error", { "allowImplicit": true }],
"indent": ["warn", 2],
"no-template-curly-in-string": "error",
"semi": ["error", "always"]
},
"globals": {
"expect": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment