Skip to content

eslint-config 0.1.0

Install from the command line:
Learn more about npm packages
$ npm install @tree-company/eslint-config@0.1.0
Install via package.json:
"@tree-company/eslint-config": "0.1.0"

About this version

@tree-company/stylelint-config

How to install

Create an .npmrc file in your project containing the following:

//npm.pkg.github.com/:_authToken=YOUR_PERSONAL_TOKEN
@tree-company:registry=https://npm.pkg.github.com
always-auth=true

Replace YOUR_PERSONAL_TOKEN with a personal access token from github. This token only needs the read:packages permission.

Install using yarn add -D @tree-company/eslint-config eslint prettier.

How to use

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"],
};

Details


Assets

  • eslint-config-0.1.0.tgz

Download activity

  • Total downloads 1,692
  • Last 30 days 0
  • Last week 0
  • Today 0