Skip to content

Instantly share code, notes, and snippets.

@kimniche
Created December 9, 2016 21:19
Show Gist options
  • Save kimniche/8b3f95383534c8499fade60b97aeb258 to your computer and use it in GitHub Desktop.
Save kimniche/8b3f95383534c8499fade60b97aeb258 to your computer and use it in GitHub Desktop.
{
"extends": "airbnb/base",
"rules": {
"array-bracket-spacing": [ "warn", "always", { "singleValue": false, "objectsInArrays": false, "arraysInArrays": false } ],
"camelcase": "warn",
"indent": [ "warn", 4, { "SwitchCase": 1 } ],
"max-len": 0,
"no-dupe-keys": "error",
"no-nested-ternary": "warn",
"no-fallthrough": "warn",
"no-multi-spaces": [ "warn", { "exceptions": { "ImportDeclaration": true, "VariableDeclarator": true } } ],
"no-underscore-dangle": 0,
"no-unneeded-ternary": "warn",
"one-var": 0,
"padded-blocks": 0,
"semi": [ "warn", "never" ],
"sort-imports": 0,
"yoda": [ "warn", "never" ]
},
"parserOptions": {
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
"BROWSER": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment