Skip to content

Commit

Permalink
fix eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Mar 17, 2020
1 parent 68677f2 commit 47c398c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bin/github-lint.js
Expand Up @@ -5,7 +5,6 @@

const childProcess = require('child_process')
const fs = require('fs')
const path = require('path')
const supportsColors = require('supports-color')

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

const packageJson = fs.existsSync('package.json') ? require(path.join(process.cwd(), 'package.json')) : {}

let eslintOptions = ['--report-unused-disable-directives', '.']

if (hasBasicColorSupport) {
Expand Down

0 comments on commit 47c398c

Please sign in to comment.