Nattily Polished Marbles

    eslint-plugin-redux-namespaced-actions

    1.0.0 • Public • Published

    eslint-config-redux-namespaced-actions

    An eslint rule for linting that Redux actions are namespaced

    Enforces:

    • Values of action values look like mx/project/module[...</rest>].

    Configuration:

      "rules"{
        "redux-namespaced-actions/redux-namespaced-actions": 1,
      }

    Optional, provide action variable names:

      "rules"{
        "redux-namespaced-actions/redux-namespaced-actions": [1, {
            "validActionVarnames": ["ActionTypes"],
        }],
      }

    Install

    npm i eslint-plugin-redux-namespaced-actions

    DownloadsWeekly Downloads

    21

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    6.32 kB

    Total Files

    7

    Last publish

    Collaborators

    • whiteinge