@jitsi/eslint-config

4.1.12 • Public • Published

eslint-config-jitsi

A shareable eslint config for Jitsi's projects.

Install

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

Installing peerDependencies

npm install --save-dev babel-eslint eslint-plugin-import

Usage

Add the following to your .eslintrc.js.

{
  'extends': '@jitsi/eslint-config'
}

Additional

If you want to enforce jsdoc rules used by Jitsi.

npm install --save-dev eslint-plugin-jsdoc
{
  'extends': [
    '@jitsi/eslint-config',
    '@jitsi/eslint-config/jsdoc'
  ]
}

If you are using react.

npm install --save-dev eslint-plugin-react
{
  'extends': [
    '@jitsi/eslint-config',
    '@jitsi/eslint-config/react'
  ]
}

If you are using typescript:

 npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser
{
  'extends': [
    '@jitsi/eslint-config',
    '@jitsi/eslint-config/typescript'
  ]
}

Readme

Keywords

Package Sidebar

Install

npm i @jitsi/eslint-config

Weekly Downloads

1,178

Version

4.1.12

License

Apache-2.0

Unpacked Size

32.5 kB

Total Files

9

Last publish

Collaborators

  • calinteodor
  • damencho
  • mihhu
  • andrei.gavrilescu
  • hristoterezov
  • gpolitis
  • yanas
  • jitsiorg
  • saghul
  • jallamsetty