0.0.6 • Published 7 years ago

eslint-plugin-banhammer v0.0.6

Weekly downloads
216
License
MIT
Repository
-
Last release
7 years ago

eslint-plugin-banhammer

ESLint rule to prevent specific functions from being called

Installation:

npm install --save-dev eslint-plugin-banhammer

Usage

Add the banhammer module to the plugins directive of your config

Add the following rule to ban the usage of window.getSelection and Object.keys in the codebase:

"banhammer/no-restricted-functions": [
    "error",
    "window.getSelection",
    "Object.keys",
],
0.0.6

7 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago