Socket
Book a DemoInstallSign in
Socket

@builder.io/eslint-plugin-mitosis

Package Overview
Dependencies
Maintainers
20
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@builder.io/eslint-plugin-mitosis

A Mitosis plugin containing rules that help you write valid and idiomatic Mitosis code

latest
Source
npmnpm
Version
0.0.17
Version published
Weekly downloads
736
-39.87%
Maintainers
20
Weekly downloads
 
Created
Source

Mitosis ESLint plugin

A Mitosis plugin containing rules that help you write valid and idiomatic Mitosis code

Setup

First, make sure you have ESLint setup correctly. Then, install this plugin by running:

yarn add -D @builder.io/eslint-plugin-mitosis

Finally, add the plugin to the plugins array, and the rules you want to the rules array:

module.exports = {
  parserOptions: {
    ecmaFeatures: {
      jsx: true,
    },
  },
  plugins: ['@builder.io/mitosis'],
  extends: [
    // Use this approach for our recommended rules configuration
    'plugin:@builder.io/mitosis/recommended',
  ],
  rules: {
    // Use this to configure rules individually
    '@builder.io/mitosis/css-no-vars': 'error',
  },
};

Rules

Keywords

builder

FAQs

Package last updated on 03 Mar 2025

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