eslint-config 0.4.0
Install from the command line:
Learn more about npm packages
$ npm install @tree-company/eslint-config@0.4.0
Install via package.json:
"@tree-company/eslint-config": "0.4.0"
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:
// eslint.config.js
import config from "./eslint-config/index.js";
export default config.configs.default;
If you work with react:
// eslint.config.js
import config from "./eslint-config/index.js";
export default config.configs.react;
To run eslint, you'll just need eslint .
or eslint . --fix
.
Except for patch versions, all packages in from @tree-company/linting-config are released at the same time, with the same version.