Skip to content

Commit

Permalink
Add ESLint config file
Browse files Browse the repository at this point in the history
  • Loading branch information
cefjoeii committed Jul 25, 2017
1 parent 2d2a28d commit 4446410
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,57 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-console": [
"off"
],
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never"
}
],
"brace-style": [
"error",
"stroustrup"
],
"keyword-spacing": [
"error",
{
"after": true
}
],
"no-unused-vars": [
"off"
],
"no-undef": [
"off"
],
"space-before-blocks": [
"error"
]
}
}

0 comments on commit 4446410

Please sign in to comment.