eslint-plugin-use-storeon

    1.1.0 • Public • Published

    eslint-plugin-use-storeon

    ESlint rules for Storeon

    Rules

    no-dupe-use-storeon Fires when useStoreon is declared multiple times. no-unused-watched-vars Fires when you're accessing a variable from useStoreon that isn't being watched. no-unwatched-vars Fires when you're watching a variable that isn't being accessed.

    Usage

    Configure your .eslint.rc.* file.

    {
      rules: {
        "use-storeon/no-dupe-use-storeon": ["error"],
        "use-storeon/no-unused-watched-vars": ["error"],
        "use-storeon/no-unwatched-vars": ["error"],
      },
      plugins: ["use-storeon"],
      ...
    }
    

    Install

    npm i eslint-plugin-use-storeon

    DownloadsWeekly Downloads

    188

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    11.1 kB

    Total Files

    10

    Last publish

    Collaborators

    • minyens