6.0.0 • Published 9 years ago
eslint-config-commercetools v6.0.0

eslint-config-commercetools
This package provides Commercetools's .eslintrc as an extensible shared config, based on Airbnb eslint config.
Table of Contents
Usage
Add it as an npm devDependency, as well as all the necessary peerDependencies.
$ npm install --save-dev eslint-config-commercetools eslint@^#.#.# eslint-config-airbnb@^#.#.# eslint-plugin-jsx-a11y@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-react@^#.#.#You can alternatively run this script, which basically produces the same command above:
(
export PKG=eslint-config-commercetools;
npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG"
)Create a .eslintrc file with
extends: commercetoolsor if you also want the react rules
extends: commercetools/with-reactAlternatively, you can add eslintConfig to your package.json
"eslintConfig": {
"extends": "commercetools"
}Contributing
See CONTRIBUTING.md for info on contributing to eslint-config
License
Licensed under the MIT LICENSE
6.0.0
9 years ago
5.0.0
9 years ago
4.0.2
9 years ago
4.0.1
9 years ago
4.0.0
9 years ago
3.2.2
9 years ago
3.2.1
9 years ago
3.2.0
9 years ago
3.1.0
9 years ago
3.0.0
9 years ago
2.0.0
10 years ago
1.0.3
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago
0.3.2
10 years ago
0.3.1
10 years ago
0.3.0
10 years ago
0.2.1
10 years ago
0.2.0
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago