Skip to content

ESLint plugin that adds an environment for the radargun benchmarking utility.

License

Notifications You must be signed in to change notification settings

dsfields/eslint-plugin-radargun

Repository files navigation

eslint-plugin-radargun

Adds an environment to ESLint for the radargun benchmarking utility.

Usage

Install the plugin under devDependencies:

$ 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.

About

ESLint plugin that adds an environment for the radargun benchmarking utility.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published