Socket
Book a DemoInstallSign in
Socket

@ezcater/eslint-plugin-recipe

Package Overview
Dependencies
Maintainers
9
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ezcater/eslint-plugin-recipe

Static analysis tools for ezCater's Recipe design system

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
9
Created
Source

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'

FAQs

Package last updated on 04 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts