Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@automattic/calypso-eslint-overrides
Advanced tools
Readme
This package contains ESlint configuration used to override default ESLint settings, grouped by runtime.
The main use case is when a package has code expected to run in a browser, and code expected to run in Node.js.
Imagine you have an .eslintrc.js
that applies some config designed to enforce/prevent some code conventions that won't work well in a browser, or that inherits some rules from a parent .eslintrc.js
module.exports = {
env: {
browser: true
},
rules: {
// Polyfill nodejs modules for the browser is expensive, disable them
'import/no-nodejs-modules': 'error'
}
}
If there is some section of the code that is meant to be run by Node.js (eg: a ./bin/
directory with some scripts), you can add an override like:
const { nodeConfig } = require('@automattic/calypso-eslint-overrides/node')
module.exports = {
env: {
browser: true
},
rules: {
// Polyfill nodejs modules for the browser is expensive, disable them
'import/no-nodejs-modules': 'error'
},
overrides: [
{
files: "./bin/**.*"
...nodeConfig
}
]
}
FAQs
Shared Calypso eslint config
The npm package @automattic/calypso-eslint-overrides receives a total of 2 weekly downloads. As such, @automattic/calypso-eslint-overrides popularity was classified as not popular.
We found that @automattic/calypso-eslint-overrides demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 26 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.