Created
May 17, 2017 18:34
-
-
Save Pinjasaur/e2008631fd83dca13d2456975c04b0ac to your computer and use it in GitHub Desktop.
ESLint config (used with Prettier)
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
| { | |
| "rules": { | |
| "one-var-declaration-per-line": ["error", "always"], | |
| "indent": ["error", 2, { | |
| "VariableDeclarator": { | |
| "var": 2, | |
| "let": 2, | |
| "const": 3 | |
| } | |
| }], | |
| "no-trailing-spaces": "error", | |
| "spaced-comment": ["error", "always"], | |
| "lines-around-directive": ["error", "always"], | |
| "padded-blocks": ["error", "always"] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment