Skip to content

Instantly share code, notes, and snippets.

@losnir
Created December 8, 2016 19:15
Show Gist options
  • Save losnir/ab6469194134f29f4e73c116a3908740 to your computer and use it in GitHub Desktop.
Save losnir/ab6469194134f29f4e73c116a3908740 to your computer and use it in GitHub Desktop.
My code style for eslint
{
"rules": {
"keyword-spacing": ["error", { before: true, after: false }],
"key-spacing": ["error", { "beforeColon": false, "afterColon": true, "align": "value" }],
"object-curly-spacing": ["error", "always"],
"one-var": ["error", "always"],
"padded-blocks": ["off"],
"max-len": ["error", 100],
"indent": ["error", 3, { "VariableDeclarator": 2 }]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment