This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

eslint-config-dbk

3.3.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-dbk

Weekly Downloads

15

Version

3.3.4

License

ISC

Unpacked Size

142 kB

Total Files

5

Last publish

Collaborators

  • chrisjbrown
  • niels.vanmidden