Skip to content

Commit 47c398c

Browse files
committed
fix eslint issues
1 parent 68677f2 commit 47c398c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bin/github-lint.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
const childProcess = require('child_process')
77
const fs = require('fs')
8-
const path = require('path')
98
const supportsColors = require('supports-color')
109

1110
const hasBasicColorSupport = supportsColors.stdout.hasBasic && supportsColors.stderr.hasBasic
@@ -23,8 +22,6 @@ function execFile(command, args) {
2322
const codes = []
2423
const commands = []
2524

26-
const packageJson = fs.existsSync('package.json') ? require(path.join(process.cwd(), 'package.json')) : {}
27-
2825
let eslintOptions = ['--report-unused-disable-directives', '.']
2926

3027
if (hasBasicColorSupport) {

0 commit comments

Comments
 (0)