1.0.2 • Published 2 years ago

eslint-config-googlemaps v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

eslint-config-googlemaps

npm Build Release GitHub contributors semantic-release Discord

Description

Shareable style configuration for ESLint based upon Google TypesScript Style (GTS).

Install

Available via npm as the package eslint-config-googlemaps.

npm i -D eslint-config-googlemaps

Usage

The following configs extend https://github.com/google/gts and provide Google specific styles when combined with a Prettier Configuration file:

  • googlemaps:web
  • googlemaps:typescript
  • googlemaps:react
  • googlemaps:node

eslintrc.json:

{
  "extends": [ "googlemaps:web"]
}

.prettierrc.js:

module.exports = {
  ...require('./node_modules/gts/.prettierrc.json'),
};

See ./src/index.test.ts for the dereferenced configuration.