Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-bluejava

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-bluejava

[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-

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-bluejava npm downloads

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.

Install

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"
  },

Usage

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.

Final Ruleset

The final resulting ruleset created by this configuration can be seen in the rules-report.json file in this repository.

License

See the LICENSE file for license rights and limitations (MIT).

FAQs

Package last updated on 02 Nov 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc