Skip to content

Commit 6adf459

Browse files
committed
Remove update-notifier
Not enough benefit to be worth it. Fixes #559
1 parent b6389ef commit 6adf459

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

cli-main.js

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env node
22
'use strict';
3-
const updateNotifier = require('update-notifier');
43
const getStdin = require('get-stdin');
54
const meow = require('meow');
65
const formatterPretty = require('eslint-formatter-pretty');
@@ -113,8 +112,6 @@ const cli = meow(`
113112
}
114113
});
115114

116-
updateNotifier({pkg: cli.pkg}).notify();
117-
118115
const {input, flags: options, showVersion} = cli;
119116

120117
// TODO: Fix this properly instead of the below workaround.

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@
9595
"semver": "^7.3.5",
9696
"slash": "^3.0.0",
9797
"to-absolute-glob": "^2.0.2",
98-
"typescript": "^4.2.4",
99-
"update-notifier": "^5.1.0"
98+
"typescript": "^4.2.4"
10099
},
101100
"devDependencies": {
102101
"ava": "^3.15.0",

0 commit comments

Comments
 (0)