eslint-plugin-radargun

1.0.1 • Public • Published

eslint-plugin-radargun

Adds an environment to ESLint for the radargun benchmarking utility.

Usage

Install the plugin as a devDependency:

$ npm install eslint-plugin-radargun -D

Add an .eslintrc file to the directory that contains all of your radargun benchmarking scripts:

{
  "env": {
    "radargun/bin": true
  },
  "plugins": [
    "radargun"
  ]
}

This configuration ensures that the bench() function is recognized as a global when the script is run by radargun.

/eslint-plugin-radargun/

    Package Sidebar

    Install

    npm i eslint-plugin-radargun

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • dsfields