Skip to content

Instantly share code, notes, and snippets.

@thiagobraga
Created September 17, 2018 18:13
Show Gist options
  • Save thiagobraga/72640ddc3c1a1c2ab03aae4568141057 to your computer and use it in GitHub Desktop.
Save thiagobraga/72640ddc3c1a1c2ab03aae4568141057 to your computer and use it in GitHub Desktop.
ESLint rules for ECMAScript 2015
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2015
},
"rules": {
"no-console": 0,
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"no-unreachable": "error",
"no-unused-vars": "off",
"no-undef": "off"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment