eslint-config-google

WebJar for eslint-config-google

Лицензия

Лицензия

Категории

Категории

config Библиотеки уровня приложения Configuration
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

eslint-config-google
Последняя версия

Последняя версия

0.14.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

eslint-config-google
WebJar for eslint-config-google
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/google/eslint-config-google

Скачать eslint-config-google

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/eslint-config-google/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>eslint-config-google</artifactId>
    <version>0.14.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/eslint-config-google/
implementation 'org.webjars.npm:eslint-config-google:0.14.0'
// https://jarcasting.com/artifacts/org.webjars.npm/eslint-config-google/
implementation ("org.webjars.npm:eslint-config-google:0.14.0")
'org.webjars.npm:eslint-config-google:jar:0.14.0'
<dependency org="org.webjars.npm" name="eslint-config-google" rev="0.14.0">
  <artifact name="eslint-config-google" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='eslint-config-google', version='0.14.0')
)
libraryDependencies += "org.webjars.npm" % "eslint-config-google" % "0.14.0"
[org.webjars.npm/eslint-config-google "0.14.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

eslint-config-google Build Status

ESLint shareable config for the Google JavaScript style guide (ES2015+ version)

Installation

$ npm install --save-dev eslint eslint-config-google

Usage

Once the eslint-config-google package is installed, you can use it by specifying google in the extends section of your ESLint configuration.

{
  "extends": "google",
  "rules": {
    // Additional, per-project rules...
  }
}

Using the google config with eslint:recommended

There are several rules in the eslint:recommended ruleset that Google style is not opinionated about that you might want to enforce in your project.

To use Google style in conjunction with ESLint's recommended rule set, extend them both, making sure to list google last:

{
  "extends": ["eslint:recommended", "google"],
  "rules": {
    // Additional, per-project rules...
  }
}

To see how the google config compares with eslint:recommended, refer to the source code of index.js, which lists every ESLint rule along with whether (and how) it is enforced by the google config.

License

Apache-2 © Google

org.webjars.npm

Google

Google ❤️ Open Source

Версии библиотеки

Версия
0.14.0