Nine Pedestrians Mesmerized

    eslint-config-legao

    1.1.1 • Public • Published

    eslint-config-legao

    ESlint rules for Legao with [ 'ES5', 'ES.NEXT', 'React' ] support.

    Based on Airbnb JavaScript Style Guide

    Install

    tnpm i eslint-config-legao@latest -D

    Usage

    ES5

    {
      "extends": "legao",
      "env": {
        "browser": true
      }
    }

    ES.NEXT

    {
      "extends": "legao/es6",
      "env": {
        "browser": true
      }
    }

    React

    {
      "extends": "legao/react",
      "env": {
        "browser": true
      }
    }

    Tips

    • If you use some experimental features with Babel, you may need babel-eslint

    Development

    Edit rules in rules to override rules of Airbnb.

    Test

    npm test

    Install

    npm i eslint-config-legao

    DownloadsWeekly Downloads

    4

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    3.77 kB

    Total Files

    11

    Last publish

    Collaborators

    • guobiao.xgb
    • int64ago