This package has been deprecated

Author message:

this package has been deprecated

eslint-configuration

0.1.0 • Public • Published

eslint-configuration

Shareable eslint config as used by micro-tools and nodefluent.

Setup

Install this module (and eslint) and add it to package.json's devDependencies:

npm install -D eslint-configuration

Create a basic .eslintrc.json file in your project's root:

{
    "extends": "eslint-configuration"
}

Add your own rules/global to this config file.

Optional

  • add a run script to your package.json:
  "scripts"{
    
    "lint": "eslint .",
    
  },
  • create an .eslintignore to exclude generated code, e.g. istanbul coverage reports

Commit-Hook

This package will install a pre-commit-hook into your project that runs "npm run lint" prior each commit.

Disabling rules

If you want to disable specific rules selectively see eslint documentation.

Readme

Keywords

Package Sidebar

Install

npm i eslint-configuration

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

5.17 kB

Total Files

6

Last publish

Collaborators

  • holgeradam