standa

    16.1.1 • Public • Published

    standa

    JavaScript Standa•Rd Style minus R(eact) d(evelopment) stuff

    Features

    It has same features as Standard JS linter but with a subset of rules: everything related to JSX and React is removed.

    Installation

    With npm do

    npm i standa -D

    Usage

    It works the same as Standard JS!

    For example you can declare globals in package.json, adding something like

      "standa": {
        "globals": [
          "localStorage"
        ]
      }

    Note that the attribute name is standa instead of standard.

    The same applies if you want to ignore files, for example

      "standa": {
        "ignore": [
          "dist/"
        ]
      }

    Another use case, if you want to lint code with flow annotations, follow instructions from official StandardJS documentation then in your package.json

    npm install babel-eslint
      "standa": {
        "parser": "babel-eslint",
        "plugins": [
          "flowtype"
        ]
      }

    Credits

    Credits go to standard-engine collaborators.

    Versioning

    Major version is the same as eslint-config-standard.

    License

    Same as Standard JS, i.e. MIT.

    Install

    npm i standa

    DownloadsWeekly Downloads

    7

    Version

    16.1.1

    License

    MIT

    Unpacked Size

    4.65 kB

    Total Files

    8

    Last publish

    Collaborators

    • fibo