eslint-config-uber-jsx

3.3.3 • Public • Published

eslint-config-uber-jsx NPM version

The base jsx eslint config for web JavaScript at Uber

Installation

Install eslint and eslint-plugin-react either locally or globally.

npm install --save-dev eslint eslint-plugin-react

If you installed eslint locally, you should install eslint-config-uber-jsx locally too. Otherwise, install it globally.

npm install --save-dev eslint-config-uber-jsx

Usage

Initialize a .eslintrc file or append to an existing one.

Note: you can also configure eslint with other types of config files

Before

{
  "rules": {},
  "extends": []
}

After

{
  "rules": {},
  "extends": [
    "eslint-config-uber-jsx"
  ]
}

eslint-config-uber-es5 is already included, so there's no need to extend it.

===

🔙 to uber-eslint home

Package Sidebar

Install

npm i eslint-config-uber-jsx

Weekly Downloads

376

Version

3.3.3

License

MIT

Last publish

Collaborators

  • rtsao
  • usiarhei
  • kenns29
  • shengs
  • emrahs
  • zacklk
  • uber-ospo