
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
eslint-reduce
Advanced tools
This is a simple utility for reducing your eslint config into a single .eslintrc.json
file without any external dependencies.
We made this tool to help us manage shared our eslint configs across multiple projects while using Code Climate for quality control.
Code Climate currently does not allow users to import custom eslint config files - see this issue https://github.com/codeclimate/codeclimate-eslint/issues/86.
# to use within a project
npm install eslint-reduce --save-dev
# or globally to use as a CLI utility
npm install eslint-reduce --global
Usage: eslint-reduce [options]
Options:
-V, --version output the version number
-f, --file eslint file to reduce
-o, --output output file
-v, --verbose print information on process
-h, --help output usage information
var eslintReduce = require('eslint-reduce')
var eslintConfig = require('./your-eslint-config')
var reducedConfig = eslintReduce(config)
eslintReduce(file, [options])
returns eslint config object.
Options include:
{
verbose: true|false // log process. default: false
location: string // specify where to look for extensions.
exclude: [ strings ] // an array of extendions that you want to ignore
}
FAQs
"a utility to merge eslint configs into a single eslintrc.json file"
We found that eslint-reduce demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.