🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

eslint-config-google

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
e

eslint-config-google

ESLint shareable config for the Google style

0.14.0
latest
100

Supply Chain Security

100

Vulnerability

81

Quality

81

Maintenance

100

License

Version published
Weekly downloads
414K
-5.33%
Maintainers
3
Weekly downloads
 
Created
Issues
15

What is eslint-config-google?

The eslint-config-google package provides a shareable ESLint configuration that follows the Google JavaScript style guide. It helps developers enforce consistent coding styles and best practices as defined by Google.

What are eslint-config-google's main functionalities?

Enforcing Google JavaScript Style Guide

By extending the 'google' configuration, ESLint will enforce the coding standards and best practices defined in the Google JavaScript style guide. This includes rules for indentation, quotes, semicolons, and more.

{
  "extends": "google"
}

Customizable Rules

You can customize the rules provided by the Google configuration to better fit your project's needs. For example, you can change the quote style to single quotes and set the indentation to 2 spaces.

{
  "extends": "google",
  "rules": {
    "quotes": ["error", "single"],
    "indent": ["error", 2]
  }
}

Other packages similar to eslint-config-google

FAQs

Package last updated on 02 Sep 2019

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