eslint-config-dalee

Base eslint shareable config for the Dalee IA style

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-config-dalee
000.1.77 years ago8 years agoMinified + gzip package size for eslint-config-dalee in KB

Readme

eslint-config-dalee
ESLint shareable config for the Dalee IA style

Install

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

Usage

Create a eslint configuration file that extends the package (.eslintrc.json for example):
{
    "extends": "eslint-config-dalee"
}

By default it lints against es5 rules. To enable es6 rules (inheriting es5) use:
{
    "extends": "eslint-config-dalee/es6"
}

Add a shortcut to package.json:
{
    "scripts": {
        "lint": "eslint ."
    }
}

And finally run it:
$ npm run lint