@fezvrasta/eslint-plugin-no-iife

    1.0.1 • Public • Published

    @fezvrasta/eslint-plugin-no-iife

    Usage

    {
      "plugins": ["@fezvrasta/eslint-plugin-no-iife"],
      "rules": {
        "@fezvrasta/no-iife/no-iife": "error"
      }
    }
    

    Invalid

    (function() {
      return 'x';
    })();
    
    const x = (function() {})();
    
    (() => {});
    

    Keywords

    none

    Install

    npm i @fezvrasta/eslint-plugin-no-iife

    DownloadsWeekly Downloads

    467

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    1.18 kB

    Total Files

    4

    Last publish

    Collaborators

    • fezvrasta