Created
December 8, 2016 19:15
-
-
Save losnir/ab6469194134f29f4e73c116a3908740 to your computer and use it in GitHub Desktop.
My code style for eslint
This file contains 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
{ | |
"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