We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68677f2 commit 47c398cCopy full SHA for 47c398c
bin/github-lint.js
@@ -5,7 +5,6 @@
5
6
const childProcess = require('child_process')
7
const fs = require('fs')
8
-const path = require('path')
9
const supportsColors = require('supports-color')
10
11
const hasBasicColorSupport = supportsColors.stdout.hasBasic && supportsColors.stderr.hasBasic
@@ -23,8 +22,6 @@ function execFile(command, args) {
23
22
const codes = []
24
const commands = []
25
26
- const packageJson = fs.existsSync('package.json') ? require(path.join(process.cwd(), 'package.json')) : {}
27
-
28
let eslintOptions = ['--report-unused-disable-directives', '.']
29
30
if (hasBasicColorSupport) {
0 commit comments