Skip to content

Instantly share code, notes, and snippets.

@gitawego
Last active March 3, 2016 12:35
Show Gist options
  • Select an option

  • Save gitawego/66b21ec8244601407eaf to your computer and use it in GitHub Desktop.

Select an option

Save gitawego/66b21ec8244601407eaf to your computer and use it in GitHub Desktop.
eslint setting
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": "airbnb/base",
"rules": {
"semi": 2,
"comma-dangle": 0,
"func-names": 0,
"no-param-reassign": 0,
"no-new-func": 1,
"space-before-function-paren": 0,
"new-cap":1,
"promise/param-names": 1,
"promise/always-catch": 2
},
"globals": {
"logger": true,
"angular": true,
"PRODUCTION": true
},
"plugins": [
"promise"
]
}
{
"devDependencies": {
"babel-eslint": "^5.0.0",
"eslint": "^2.2.0",
"eslint-config-airbnb": "^6.0.2",
"eslint-config-react": "^1.1.1",
"eslint-plugin-promise": "^1.0.8",
"eslint-plugin-react": "^4.1.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment