Last active
November 21, 2018 06:22
-
-
Save vemarav/8f0d3ec11aaa665d873604cf34f7345b to your computer and use it in GitHub Desktop.
.eslintrc.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"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