eslint-config-googlemaps
v1.0.2
Published
Shared eslint config for Google Maps using Google TypeScript Style (GTS).
Downloads
11
Maintainers
Readme
eslint-config-googlemaps
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.