
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
eslint-config-bluejava
Advanced tools
[npm-image]: https://img.shields.io/npm/v/eslint-config-bluejava.svg [npm-url]: https://npmjs.org/package/eslint-config-bluejava [downloads-image]: https://img.shields.io/npm/dm/eslint-config-bluejava.svg [downloads-url]: https://npmjs.org/package/eslint-
This is an Eslint sharable configuration that contains an opinionated take on best practices in writing and formatting JavaScript code. I reviewed the eslint recommended settings, the standard configuration, and the Airbnb configuration and carefully considered their recommendations balanced with my own experience developing with JavaScript.
This config itself extends the eslint:recommended
ruleset.
This is the result. It leans towards minimalism (no semicolons or other unnecessary punctuation with a few exceptions), the Allman/BSD style of indentation for maximum clarity, tabs for indentation, organized import statements, etc.
If you generally like this approach but with some small modifications, you can extend this and provide rule overrides.
This package also follows the bluejava approach of small, simple, single-purpose, minimal tooling - so it would be easy to clone this and make changes or rip out any valuable bits for your own sharable configuration.
To use this package, simply install it:
npm install --save-dev eslint-config-bluejava
or
yarn add --dev eslint-config-bluejava
and then, in your package.json
, add the following:
"eslintConfig": {
"extends": "bluejava"
},
Once configured you can check your code via the command line (eslint <src>
) or more commonly, via an eslint plugin for your browser.
You can learn more about Shareable Configs on the official ESLint website.
For help in integrating with your editor, see Integrations.
The final resulting ruleset created by this configuration can be seen in the rules-report.json file in this repository.
MIT. Copyright (c) Feross Aboukhadijeh.
FAQs
[npm-image]: https://img.shields.io/npm/v/eslint-config-bluejava.svg [npm-url]: https://npmjs.org/package/eslint-config-bluejava [downloads-image]: https://img.shields.io/npm/dm/eslint-config-bluejava.svg [downloads-url]: https://npmjs.org/package/eslint-
The npm package eslint-config-bluejava receives a total of 0 weekly downloads. As such, eslint-config-bluejava popularity was classified as not popular.
We found that eslint-config-bluejava demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.