eslint-config 0.2.1
Install from the command line:
Learn more about npm packages
$ npm install @tree-company/eslint-config@0.2.1
Install via package.json:
"@tree-company/eslint-config": "0.2.1"
About this version
Install using yarn add -D @tree-company/eslint-config eslint prettier
.
You can add our base eslint config in the following way:
// eslintrc.js
module.exports = {
extends: ["@tree-company/eslint-config"],
};
If you work with react:
// eslintrc.js
module.exports = {
extends: ["@tree-company/eslint-config/react"],
};
We try to follow semantic versioning, with one major exception:
This package's version is tied to the version of @tree-company/stylelint-config
. They will always be upgraded in unison, use the biggest upgrade required from either package.