Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
eslint-output
Advanced tools
Install eslint-output
using npm
or your favorite node modules manager.
npm i --save-dev eslint-output
"eslint-output": "eslint-output"
eslintoutput.config.js
placed at the root of your project's directory. See example belownpm run eslint-output
or yarn run eslint-output
. See below for command line options.Example eslintoutput.config.js
module.exports = {
files: ['.'],
formats: [
{
name: 'stylish',
output: 'console',
},
{
name: 'junit',
output: 'file',
path: 'tmp/junit.xml',
id: 'myJunit',
},
],
};
Option | Value | Description |
---|---|---|
--quiet , -q | Don't report warnings, only errors | |
--max-warnings , -m | Int | Maximum number of warnings before the process returns an unsuccessful error code |
--format-overrides , -o | String (s) | Override key(s) in specific format array item(s), using format id.key=value .id field must be added to desired format item. |
Files to be checked can also be passed in the command, e.g.
npm run eslint-output src/**/*.js test/**/*.js
This will override the files
array in eslintoutput.config.js
.
Multiple format overrides can be passed in one command, e.g.
npm run eslint-output -o gitlab.path="path/to/file.json" myJunit.output=console -- src/**/*.js
or even
npm run eslint-output -o gitlab.path="path/to/file.json" -q -o myJunit.output=console -- src/**/*.js
eslint-formatter-junit
eslintoutput.config.js
.FAQs
export multiple formats of eslint
The npm package eslint-output receives a total of 28,702 weekly downloads. As such, eslint-output popularity was classified as popular.
We found that eslint-output demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.