1.0.2 • Published 4 years ago
eslint-config-googlemaps v1.0.2
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-googlemapsUsage
The following configs extend https://github.com/google/gts and provide Google specific styles when combined with a Prettier Configuration file:
googlemaps:webgooglemaps:typescriptgooglemaps:reactgooglemaps: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.