Skip to content

Commit

Permalink
Use eslint-config-koa (#1105)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmccurdy authored and dead-horse committed Dec 24, 2017
1 parent 9068316 commit 53bea20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
17 changes: 1 addition & 16 deletions .eslintrc.yml
@@ -1,16 +1 @@
# Support ES2016 features
parser: babel-eslint

extends: standard

rules:
arrow-parens: [2, as-needed]
eqeqeq: 0
no-return-assign: 0 # fails for arrow functions
no-var: 2
semi: [2, always]
space-before-function-paren: [2, never]
yoda: 0
arrow-spacing: 2
dot-location: [2, "property"]
prefer-arrow-callback: 2
extends: koa
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -48,8 +48,8 @@
"vary": "^1.0.0"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"eslint": "^3.17.1",
"eslint-config-koa": "^2.0.0",
"eslint-config-standard": "^7.0.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^2.1.1",
Expand Down

0 comments on commit 53bea20

Please sign in to comment.