Skip to content

Instantly share code, notes, and snippets.

View indigokidsgames's full-sized avatar

indigokidsgames

View GitHub Profile
@indigokidsgames
indigokidsgames / .eslintrc.json
Created October 18, 2018 17:57
Eslint config for node.js with ES2018 License: https://creativecommons.org/publicdomain/zero/1.0/
{
"env": {
"es6": true,
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
@indigokidsgames
indigokidsgames / test.js
Last active August 24, 2017 15:36
Feathers-mongodb bug
const adapter = require('feathers-mongodb')
const feathers = require('feathers')
class Service extends adapter.Service {
constructor (options) {
super(options)
this.addedInConstructor = 'foo'
setTimeout(() => this.testFn(), 3000)
}