Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@centerforopenscience/eslint-config
Advanced tools
ESLint configuration for the Center for Open Science
JavaScript Style based on AirBnB's JavaScript Guide
Generic ESLint configuration for the Center for Open Science
Based on AirBnB's JavaScript Guide, with a few notable exceptions including:
for..of
loops++
max-len
is a warning, until we get the various repos cleaned upAdd the following to your ESLint config file:
{
"extends": "@centerforopenscience"
}
Note: ESLint automatically appends /eslint-config so it is not necessary to add it here.
Ember ESLint configuration for the Center for Open Science
Based on COS's Base Config with eslint-plugin-ember
Since route-able components aren't stable, this is unnecessary:
alias-model-in-controller
This will produce too many errors or warnings to count, so for now, it's turned completely off:
use-ember-get-and-set
The following are set to warnings, but will become errors later:
no-observers
no-function-prototype-extensions
named-functions-in-promises
order-in-components
order-in-routes
order-in-controllers
Add the following to your ESLint config file:
{
"extends": "@centerforopenscience/eslint-config/ember"
}
Note: You must include /eslint-config in the path for non-default configurations.
FAQs
ESLint configuration for the Center for Open Science
We found that @centerforopenscience/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.