npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

@rdbird/eslint-config

6.0.2 • Public • Published

RdBird Project

ESLint Configuration

Version Build Status License

This package provides RdBird's ESLint configuration as an extensible shared config.

How to use it in your project

Setup requirements

npm install \
eslint babel-eslint prettier \
@rdbird/eslint-config \
--save-dev

Configure eslint

Use all plugins

.eslintrc.json

{
  "extends": [
    "@rdbird/eslint-config"
  ]
}

OR

Cherry-pick plugins

.eslintrc.json

{
  "extends": [
    "@rdbird/eslint-config/base",
    "@rdbird/eslint-config/react",
    "@rdbird/eslint-config/jsx-a11y",
    "@rdbird/eslint-config/flowtype"
  ]
}

Setup the lint task

package.json

{
  "scripts": {
    "lint": "eslint .",    
    "format": "eslint . --fix"    
  }
}

Architecture

For a better community alignment, the configuration extends StandardJS. Inspiration also comes from:

install

npm i @rdbird/eslint-config

Downloadsweekly downloads

495

version

6.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability