@bwsoftwarefi/eslint-config-bw

    1.6.2 • Public • Published

    @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

    Install

    npm i @bwsoftwarefi/eslint-config-bw

    DownloadsWeekly Downloads

    2

    Version

    1.6.2

    License

    MIT

    Unpacked Size

    3.73 kB

    Total Files

    3

    Last publish

    Collaborators

    • kallelat
    • pitkane