/eslint-config-google

ESLint shareable config for the Google JavaScript style guide

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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": "^2.7.0",
		"eslint-config-google": "^0.5.0"
	},
	"eslintConfig": {
		"extends": "google"
	}
}

Then lint with $ npm run lint.

License

Apache-2 © Google