Skip to content

Commit c4b0e86

Browse files
committedAug 29, 2021
get rid of co
1 parent d1ffe7c commit c4b0e86

File tree

3 files changed

+18
-23
lines changed

3 files changed

+18
-23
lines changed
 

‎package.json

+18-21
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"bluebird": "3.5.5",
4343
"chalk": "2.4.2",
4444
"cheerio": "1.0.0-rc.2",
45-
"co": "4.6.0",
4645
"dox": "0.3.1",
4746
"eslint": "7.1.0",
4847
"eslint-plugin-mocha-no-only": "1.1.0",
@@ -105,26 +104,24 @@
105104
"extends": [
106105
"eslint:recommended"
107106
],
108-
"overrides": [
109-
{
110-
"files": [
111-
"**/*.{ts,tsx}"
112-
],
113-
"extends": [
114-
"plugin:@typescript-eslint/eslint-recommended",
115-
"plugin:@typescript-eslint/recommended"
116-
],
117-
"plugins": [
118-
"@typescript-eslint"
119-
],
120-
"rules": {
121-
"@typescript-eslint/no-explicit-any": "off",
122-
"@typescript-eslint/ban-types": "off",
123-
"@typescript-eslint/no-unused-vars": "off",
124-
"@typescript-eslint/explicit-module-boundary-types": "off"
125-
}
107+
"overrides": [{
108+
"files": [
109+
"**/*.{ts,tsx}"
110+
],
111+
"extends": [
112+
"plugin:@typescript-eslint/eslint-recommended",
113+
"plugin:@typescript-eslint/recommended"
114+
],
115+
"plugins": [
116+
"@typescript-eslint"
117+
],
118+
"rules": {
119+
"@typescript-eslint/no-explicit-any": "off",
120+
"@typescript-eslint/ban-types": "off",
121+
"@typescript-eslint/no-unused-vars": "off",
122+
"@typescript-eslint/explicit-module-boundary-types": "off"
126123
}
127-
],
124+
}],
128125
"plugins": [
129126
"mocha-no-only"
130127
],
@@ -248,4 +245,4 @@
248245
"type": "opencollective",
249246
"url": "https://opencollective.com/mongoose"
250247
}
251-
}
248+
}

‎test/docs/date.test.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict';
22

33
const assert = require('assert');
4-
const co = require('co');
54
const start = require('../common');
65

76
describe('Date Tutorial', function() {

‎test/docs/transactions.test.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict';
22

33
const assert = require('assert');
4-
const co = require('co');
54
const start = require('../common');
65

76
const mongoose = start.mongoose;

0 commit comments

Comments
 (0)
Please sign in to comment.