@ezcater/eslint-plugin-recipe

1.1.0 • Public • Published

Recipe Analytics: eslint-plugin-recipe

The Recipe Analytics babel plugin is a tool for statically analyzing a code base to determine its usage of Recipe components. You can run it on any codebase that imports Recipe.

Installation

Install @ezcater/eslint-plugin-recipe from npm:

npm install @ezcater/eslint-plugin-recipe

Usage

The plugin can be configured to be run as part of your production build, allowing statistics from static analysis to be submitted with every release.

with eslintrc:

Add the plugin to your eslint configuration.

// eslintrc.js
module.exports = {
  plugins: ['@ezcater/eslint-plugin-recipe'],
};

Then as part of your production build, run eslint with the rule @ezcater/recipe/track-imports.

eslint . --rule 'recipe/track-imports: warn'

Readme

Keywords

none

Package Sidebar

Install

npm i @ezcater/eslint-plugin-recipe

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

4.83 kB

Total Files

6

Last publish

Collaborators

  • jbeard6ezcater
  • juliantrueflynn
  • noranda
  • pgrippi
  • craigcav
  • danidewitt
  • jasper.chen
  • bjackson2
  • jbelang
  • spdonegan1
  • paul.thiebauth.ezcater