Skip to content

Instantly share code, notes, and snippets.

@vemarav
Last active November 21, 2018 06:22
Show Gist options
  • Save vemarav/8f0d3ec11aaa665d873604cf34f7345b to your computer and use it in GitHub Desktop.
Save vemarav/8f0d3ec11aaa665d873604cf34f7345b to your computer and use it in GitHub Desktop.
.eslintrc.json
{
"extends": ["airbnb-base", "prettier"],
"plugins": ["prettier"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"impliedStrict": true
}
},
"env": {
"browser": true,
"node": true
},
"rules": {
"no-console": 0,
"no-return-await": 0,
"consistent-return": 0,
"prefer-const": 0,
"no-param-reassign": 0,
"no-unused-vars": [
1,
{
"argsIgnorePattern": "req|res|next|^err"
}
],
"arrow-body-style": [2, "as-needed"],
"prettier/prettier": ["error"]
},
"overrides": [
{
"files": ["app/models/*.js"],
"rules": {
"func-names": ["allow", "as-needed"]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment