1.0.7 • Published 3 years ago

eslint-config-sensetime v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

eslint-config-sensetime

Sensetime DCP shared config for eslint.

Installation

1.Install the correct versions of each package, which are listed by the command:

npm info "eslint-config-sensetime@latest" peerDependencies

If using npm 5+, use this shortcut

npx install-peerdeps --dev eslint-config-sensetime

Usage

Set your stylelint config to:

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

Extending the config

Simply add a "rules" key to your config and add your overrides there.

For example, to change the indentation to tabs:

{
  "extends": "eslint-config-sensetime",
  "rules": {
    "semi": "off"
  }
}

License