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

ESLint shareable config for the Google JavaScript style guide

3 years after

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

web-starter-kit

web-starter-kit

Web Starter Kit - a workflow for multi-device websites ...

samples

samples

A repo containing samples tied to new functionality in each release of Google Ch ...

awesome-eslint

awesome-eslint

A list of awesome ESLint plugins, configs, etc. ...

redux-react-starter

redux-react-starter

Get started with ES2015+, React and Redux. Including webpack, code-splitting, es ...

eslint-config-prettier

eslint-config-prettier

Turns off all rules that are unnecessary or might conflict with prettier. ...


Top Contributors

sindresorhus addyosmani appsforartists philipwalton ntwb justinhelmer

Dependencies

package version
dev eslint ^4.1.1
peer 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