Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorHom committed Jun 7, 2017
1 parent d7eec26 commit ccf145f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/ignored-paths.js
Expand Up @@ -16,7 +16,6 @@ const fs = require("fs"),

const debug = require("debug")("eslint:ignored-paths");


//------------------------------------------------------------------------------
// Constants
//------------------------------------------------------------------------------
Expand All @@ -38,7 +37,6 @@ const DEFAULT_OPTIONS = {
cwd: process.cwd()
};


//------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
Expand Down Expand Up @@ -183,7 +181,7 @@ class IgnoredPaths {
const packageJSONPath = findPackageJSONFile(options.cwd);

if (packageJSONPath) {
const packageJSONOptions = JSON.parse(fs.readFileSync(packageJSONPath, 'utf8'));
const packageJSONOptions = JSON.parse(fs.readFileSync(packageJSONPath, "utf8"));

if (packageJSONOptions.eslintIgnore) {
packageJSONOptions.eslintIgnore.forEach(pattern => {
Expand Down

0 comments on commit ccf145f

Please sign in to comment.