Last active
April 8, 2018 18:22
-
-
Save isabellachen/7653812b2715e8ba6b4ddde37e2e1543 to your computer and use it in GitHub Desktop.
.eslintrc build for backend
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
{ | |
"env": { | |
"browser": true, | |
"es6": true, | |
"jquery": true, | |
"node": true, | |
"mocha": true | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"sourceType": "module", | |
"ecmaVersion": 2017 | |
}, | |
"plugins": [ | |
"json" | |
], | |
"rules": { | |
"indent": [ | |
"error", | |
2 | |
], | |
"keyword-spacing": "error", | |
"linebreak-style": "error", | |
"quotes": [ | |
"error", | |
"single" | |
], | |
"semi": ["error", "never"], | |
"space-before-blocks": "error", | |
"space-before-function-paren": "error", | |
"no-undef": "off", | |
"no-unused-vars": "off", | |
"comma-dangle": ["error", "always-multiline"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment