Skip to content

Instantly share code, notes, and snippets.

@eperedo
Last active February 19, 2016 00:43
Show Gist options
  • Save eperedo/1601ee92e9ca1f4cc200 to your computer and use it in GitHub Desktop.
Save eperedo/1601ee92e9ca1f4cc200 to your computer and use it in GitHub Desktop.
Eslint config for abakio projects
src/**/*.test.js
{
"rules": {
"indent": [
2,
"tab"
],
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"no-console": [
0
],
"strict": [
2,
"global"
],
"callback-return": [
2,
["cb, next"]
],
"comma-spacing": [
2,
{"before": false, "after": true}
],
"camelcase": [
2
],
"brace-style": [
2,
"stroustrup",
{"allowSingleLine": true}
],
"object-curly-spacing": [
2,
"always"
],
"no-trailing-spaces": [
2
],
"no-inline-comments": [
2
],
"keyword-spacing": [
2
],
"space-before-function-paren": [
2
],
"space-before-blocks": [
2
],
"prefer-arrow-callback": [
2
],
"no-var": [
2
]
},
"env": {
"node": true,
"es6": true
},
"extends": "eslint:recommended"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment