Socket
Book a DemoInstallSign in
Socket

eslint-config-google

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-google

ESLint shareable config for the Google style

0.14.0
latest
Source
npmnpm
Version published
Weekly downloads
436K
-6.44%
Maintainers
3
Weekly downloads
 
Created

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

Keywords

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.