Skip to content

Commit

Permalink
get rid of co
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelrahmanHafez committed Aug 29, 2021
1 parent d1ffe7c commit c4b0e86
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 23 deletions.
39 changes: 18 additions & 21 deletions package.json
Expand Up @@ -42,7 +42,6 @@
"bluebird": "3.5.5",
"chalk": "2.4.2",
"cheerio": "1.0.0-rc.2",
"co": "4.6.0",
"dox": "0.3.1",
"eslint": "7.1.0",
"eslint-plugin-mocha-no-only": "1.1.0",
Expand Down Expand Up @@ -105,26 +104,24 @@
"extends": [
"eslint:recommended"
],
"overrides": [
{
"files": [
"**/*.{ts,tsx}"
],
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
}
"overrides": [{
"files": [
"**/*.{ts,tsx}"
],
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
}
],
}],
"plugins": [
"mocha-no-only"
],
Expand Down Expand Up @@ -248,4 +245,4 @@
"type": "opencollective",
"url": "https://opencollective.com/mongoose"
}
}
}
1 change: 0 additions & 1 deletion test/docs/date.test.js
@@ -1,7 +1,6 @@
'use strict';

const assert = require('assert');
const co = require('co');
const start = require('../common');

describe('Date Tutorial', function() {
Expand Down
1 change: 0 additions & 1 deletion test/docs/transactions.test.js
@@ -1,7 +1,6 @@
'use strict';

const assert = require('assert');
const co = require('co');
const start = require('../common');

const mongoose = start.mongoose;
Expand Down

0 comments on commit c4b0e86

Please sign in to comment.