Skip to content

eslint-config 0.1.2

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

About this version

ESLint Config

This repo contains the Shabad OS ESLint config!

Usage

Install dependencies

npm install --save-dev @shabados/eslint-config

Recommended to use npm 7+ to automatically install the peer-dependencies. If not, be sure to install them yourself via npx install-peerdeps --dev @shabados/eslint-config.

Create ESLint config

Create an ESLint configuration (.eslintrc) in your repository. You'll then add the appropriate flavor to the extends property inside the configuration file.

Essentially, there are 2 flavors of configuration that can be referenced:

  • @shabados
  • @shabados/typescript
  • @shabados/react

So, if you've got a TypeScript project, the contents of your .eslintrc should contain:

{
    "extends": [
      "@shabados",
      "@shabados/typescript",
    ]
}

The @shabados flavor is always required, so have this at a minimum.

Details


Assets

  • eslint-config-0.1.2-npm.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0