curated-linter
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -0,1 +1,2 @@ | ||
const clone = require('clone') | ||
const lintFilesPkg = require('lint-files') | ||
@@ -6,5 +7,5 @@ | ||
.getMergedConfig(config) | ||
.then(mergedConfig => lintFilesPkg(mergedConfig.CLIEngineOptions, files)) | ||
.then(mergedConfig => lintFilesPkg(clone(mergedConfig.CLIEngineOptions), files)) | ||
} | ||
module.exports = lintFiles |
@@ -0,1 +1,2 @@ | ||
const clone = require('clone') | ||
const lintTextPkg = require('lint-text') | ||
@@ -6,5 +7,5 @@ | ||
.getMergedConfig(config) | ||
.then(mergedConfig => lintTextPkg(mergedConfig.CLIEngineOptions, texts)) | ||
.then(mergedConfig => lintTextPkg(clone(mergedConfig.CLIEngineOptions), texts)) | ||
} | ||
module.exports = lintText |
{ | ||
"name": "curated-linter", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Creates curated linters, like standard", | ||
@@ -48,2 +48,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"clone": "^2.1.0", | ||
"deep-assign": "^2.0.0", | ||
@@ -50,0 +51,0 @@ "lint-files": "^1.0.0", |
14745
66
6
+ Addedclone@^2.1.0
+ Addedclone@2.1.2(transitive)