eslint-config-dbk
shareable eslint config
Last updated 5 months ago by chrisjbrown .
ISC · Original npm · Tarball · package.json
$ cnpm install eslint-config-dbk 
SYNC missed versions from official npm registry.

Shared ESLint config for de Bijenkorf front end projects

To use:

Create an .eslintrc file by running:

./node_modules/.bin/eslint --init

Extend this config in your .eslintrc

{
    "extends": "eslint-config-dbk"
}

An example can be found in the Responsive Assets repository.

Install required peer dependencies

Whenever updating eslint-config-airbnb to latest, check what peer dependencies match the latest version. npm info "eslint-config-airbnb@latest" peerDependencies

Setup staged commit hooks

Copy the following configuration to the root of your package.json:

"config": {
    "husky": {
        "hooksInConfig": true,
        "hooks": {
            "commit": "lint-staged",
            "cz": "lint-staged",
        },
    },
    "commitizen": {
        "path": "./node_modules/dbk-changelog",
    },
},

Setup with Webpack

Any webpack configuration?

List of rules

eslint-dbk-config is using the following linting packages:

  • eslint:recommended
  • airbnb
  • eslint-plugin-react
  • eslint-plugin-jsx-a11y

Current Tags

  • 3.3.4                                ...           latest (5 months ago)

21 Versions

  • 3.3.4                                ...           5 months ago
  • 3.3.3                                ...           5 months ago
  • 3.3.2                                ...           a year ago
  • 3.3.1                                ...           a year ago
  • 3.3.0                                ...           a year ago
  • 3.2.1                                ...           a year ago
  • 3.2.0                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.5.2                                ...           2 years ago
  • 1.5.1                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 42
Last Day 0
Last Week 21
Last Month 1
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2018 © taobao.org |