Nacho Portmanteau Meltdown

    eslint-plugin-banhammer

    0.0.6 • Public • Published

    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",
    ],
    

    Install

    npm i eslint-plugin-banhammer

    DownloadsWeekly Downloads

    529

    Version

    0.0.6

    License

    MIT

    Last publish

    Collaborators

    • ceara
    • dustin-textio
    • yixiang
    • caidin
    • textio-greg
    • brad2
    • jsikos
    • ryanjsloan
    • textio-circle
    • daviddav
    • meghan_textio
    • jensen_textio
    • max-winderbaum
    • bobby_textio
    • chrisz_textio
    • adamsanderson-at-textio
    • dawnwright
    • cass.textio
    • oliviagunton
    • oriontextio
    • dani.textio
    • mattiejean
    • natpeterson
    • tomcarmony
    • javellar
    • jordanah
    • awtam
    • alexs_textio