We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f016b8 commit 461339bCopy full SHA for 461339b
.eslintrc.yml
@@ -1,15 +1,6 @@
1
env:
2
mocha: true
3
-extends: standard
4
-plugins:
5
- - standard
6
- - promise
+extends: koa
7
rules:
8
- arrow-parens: 0
9
- eqeqeq: 0
10
- no-return-assign: 0 # fails for arrow functions
11
- semi: [2, always]
12
- space-before-function-paren: [2, never]
13
- yoda: 0
14
- arrow-spacing: 2
15
- dot-location: [2, "property"]
+ no-var: 0
+ prefer-arrow-callback: 0
package.json
@@ -22,6 +22,7 @@
22
},
23
"devDependencies": {
24
"eslint": "^3.8.1",
25
+ "eslint-config-koa": "^2.0.2",
26
"eslint-config-standard": "^6.2.0",
27
"eslint-plugin-promise": "^3.3.0",
28
"eslint-plugin-standard": "^2.0.1",
0 commit comments