Chore: Fix lint issues and add indent with tabs
This commit is contained in:
parent
123a413b68
commit
daf5a64697
9 changed files with 99 additions and 88 deletions
12
.eslintrc.js
12
.eslintrc.js
|
|
@ -60,7 +60,14 @@ module.exports = {
|
|||
"id-blacklist": "error",
|
||||
"id-length": "off",
|
||||
"id-match": "error",
|
||||
"indent": "off",
|
||||
"indent": [
|
||||
"warn",
|
||||
"tab",
|
||||
{
|
||||
"outerIIFEBody": 0,
|
||||
"SwitchCase": 1
|
||||
}
|
||||
],
|
||||
"init-declarations": "off",
|
||||
"jsx-quotes": "error",
|
||||
"key-spacing": "off",
|
||||
|
|
@ -217,5 +224,6 @@ module.exports = {
|
|||
"wrap-regex": "error",
|
||||
"yield-star-spacing": "error",
|
||||
"yoda": "off"
|
||||
}
|
||||
},
|
||||
"root": true
|
||||
};
|
||||
|
|
|
|||
|
|
@ -528,6 +528,7 @@ o.spec("route", function() {
|
|||
})
|
||||
|
||||
o(root.firstChild.nodeName).equals("DIV")
|
||||
o(renderCount).equals(1)
|
||||
})
|
||||
|
||||
o("RouteResolver `render` does not have component semantics", function(done) {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
"lintdocs": "node docs/lint",
|
||||
"gendocs": "node docs/generate",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"test": "node ospec/bin/ospec",
|
||||
"posttest": "npm run lint || true",
|
||||
"cover": "istanbul cover --print both ospec/bin/ospec",
|
||||
|
|
|
|||
|
|
@ -162,6 +162,7 @@ o.spec("stream", function() {
|
|||
})
|
||||
|
||||
o(b()).equals(undefined)
|
||||
o(count).equals(0)
|
||||
})
|
||||
o("combine will throw with a helpful error if given non-stream values", function () {
|
||||
var spy = o.spy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue