Skip to content

Commit 3e9460d

Browse files
committed
Bumped deps
1 parent a237e18 commit 3e9460d

File tree

4 files changed

+21
-74
lines changed

4 files changed

+21
-74
lines changed

.eslintrc

Lines changed: 11 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,11 @@
1-
"use strict";
2-
3-
module.exports = {
4-
rules: {
5-
strict: [2, "global"],
6-
eqeqeq: 2,
7-
"no-fallthrough": 2,
8-
"no-unused-expressions": [
9-
2,
10-
{
11-
allowShortCircuit: true,
12-
},
13-
],
14-
"no-unused-vars": 2,
15-
"handle-callback-err": 2,
16-
"no-new": 2,
17-
"new-cap": 2,
18-
"no-eval": 2,
19-
"no-invalid-this": 2,
20-
radix: [2, "always"],
21-
"no-regex-spaces": 2,
22-
"no-empty": 2,
23-
"no-duplicate-case": 2,
24-
"no-empty-character-class": 2,
25-
"no-redeclare": [
26-
2,
27-
{
28-
builtinGlobals: true,
29-
},
30-
],
31-
"block-scoped-var": 2,
32-
"no-sequences": 2,
33-
"no-throw-literal": 2,
34-
"no-useless-call": 2,
35-
"no-useless-concat": 2,
36-
"no-void": 2,
37-
yoda: 2,
38-
"no-undef": 2,
39-
"global-require": 2,
40-
"no-var": 2,
41-
"no-bitwise": 2,
42-
"no-lonely-if": 2,
43-
"no-mixed-spaces-and-tabs": 2,
44-
"prefer-arrow-callback": 2,
45-
"object-shorthand": 2,
46-
"prefer-spread": 2,
47-
"no-await-in-loop": 0,
48-
"require-atomic-updates": 0,
49-
"no-prototype-builtins": 0,
50-
},
51-
env: {
52-
es6: true,
53-
node: true,
54-
},
55-
extends: "eslint:recommended",
56-
globals: {
57-
it: true,
58-
describe: true,
59-
beforeEach: true,
60-
afterEach: true,
61-
},
62-
parserOptions: {
63-
ecmaVersion: 2018,
64-
},
65-
};
1+
{
2+
"rules": {
3+
"no-redeclare": 0,
4+
"no-prototype-builtins": 0,
5+
"no-await-in-loop":0
6+
},
7+
"extends": ["nodemailer", "prettier"],
8+
"parserOptions": {
9+
"ecmaVersion": 2020
10+
}
11+
}

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
module.exports = function(grunt) {
3+
module.exports = function (grunt) {
44
// Project configuration.
55
grunt.initConfig({
66
eslint: {

lib/mbox-reader.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ const mboxReader = async function* (sourceStream, options) {
218218
let errored = false;
219219
let waitNext = false;
220220

221-
let getNext = () => {
222-
return new Promise((resolve, reject) => {
221+
let getNext = () =>
222+
new Promise((resolve, reject) => {
223223
if (rowQueue.length) {
224224
let { err, row } = rowQueue.shift();
225225
if (err) {
@@ -239,7 +239,6 @@ const mboxReader = async function* (sourceStream, options) {
239239
return resolve(row);
240240
};
241241
});
242-
};
243242

244243
let push = (err, row) => {
245244
if (errored) {

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@
1313
"author": "Andris Reinman",
1414
"license": "AGPL-3.0-or-later",
1515
"devDependencies": {
16-
"eslint": "7.8.1",
17-
"grunt": "1.3.0",
18-
"grunt-cli": "1.3.2",
19-
"grunt-eslint": "23.0.0"
16+
"eslint": "8.17.0",
17+
"eslint-config-nodemailer": "^1.2.0",
18+
"eslint-config-prettier": "^8.5.0",
19+
"grunt": "1.5.3",
20+
"grunt-cli": "1.4.3",
21+
"grunt-eslint": "24.0.0"
2022
},
2123
"dependencies": {
22-
"libmime": "5.0.0"
24+
"libmime": "5.1.0"
2325
}
2426
}

0 commit comments

Comments
 (0)