Skip to content

FezVrasta/eslint-plugin-no-iife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

@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() {})();

(() => {});

About

ESLint plugin to disallow IIFE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published