eslint-config-google 0,0,1,1 editorconfig travis-ci npm

ESLint shareable config for the Google JavaScript style guide

eslint-config-google Build Status

ESLint shareable config for the Google style

Note that there are some rules the Google style guide isn’t opinionated about and you might want to set yourself.

Install

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

Usage

Add some ESLint config to your package.json:

{
	"scripts": {
		"lint": "eslint ."
	},
	"devDependencies": {
		"eslint": "^3.5.0",
		"eslint-config-google": "^0.5.0"
	},
	"eslintConfig": {
		"extends": "google"
	}
}

Then lint with $ npm run lint.

License

Apache-2 © Google

Related Repositories

eslint-config-google

eslint-config-google

ESLint shareable config for the Google JavaScript style guide ...


Top Contributors

sindresorhus addyosmani appsforartists philipwalton ntwb justinhelmer

Dependencies

package version
peer eslint >=4.1.1
dev eslint ^4.1.1

Releases

-   v0.6.0 zip tar
-   v0.5.0 zip tar
-   v0.4.0 zip tar
-   v0.3.0 zip tar