@bwsoftwarefi/eslint-config-bw

Eslint config for ES6+ & react (& react-native?). Extends airbnb.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Feb 19, 2019Oct 12, 2017Minified + gzip package size for @bwsoftwarefi/eslint-config-bw in KB

Readme

@bwsoftwarefi/eslint-config-bw

Usage

  1. npm install --save-dev @bwsoftwarefi/eslint-config-bw eslint

  2. Create .eslintrc file in the root directory of your project

  3. And paste this code

{
  "extends": "@bwsoftwarefi/eslint-config-bw"
}

Define environments if needed

{
  "extends": "@bwsoftwarefi/eslint-config-bw",
  "rules": {},
  "env": {
    "browser": true,
    "node": true
  }
}

And maybe in your package.json:

"scripts": {
  "lint": "eslint src/**.js"
}

Rule Definitions (part of them)

https://github.com/yannickcr/eslint-plugin-react https://github.com/prettier/eslint-config-prettier/blob/master/index.js https://github.com/prettier/eslint-config-prettier/blob/master/react.js

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.