🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@movable/eslint-plugin-ui

Package Overview
Dependencies
Maintainers
14
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@movable/eslint-plugin-ui

ESLint rules for enforcing best practices when using @movable/ui components

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
117
Maintainers
14
Weekly downloads
 
Created
Source

@movable/eslint-plugin-ui

ESLint rules for enforcing best practices when using @movable/ui components.

Installation

npm install @movable/eslint-plugin-ui --save-dev

Usage

Flat Config (ESLint 9+)

// eslint.config.js
import movableUI from '@movable/eslint-plugin-ui';

export default [
  {
    plugins: {
      '@movable/ui': movableUI,
    },
    rules: {
      ...movableUI.configs.recommended.rules,
    },
  },
];

Legacy Config (.eslintrc)

{
  "plugins": ["@movable/ui"],
  "extends": ["plugin:@movable/ui/recommended"]
}

Rules

no-deprecated-grid

Disallows importing the deprecated Grid component from MUI. Use Grid2 instead.

Bad:

import { Grid } from '@mui/material';
import Grid from '@mui/material/Grid';

Good:

import { Grid2 } from '@mui/material';
import Grid2 from '@mui/material/Grid2';

The recommended config enables all rules with their suggested severity:

RuleSeverity
@movable/ui/no-deprecated-griderror

Future Rules

Planned rules for future releases:

  • prefer-ink-components - Suggest using Ink-wrapped components over raw MUI components
  • Auto-detection of new Ink components via naming convention (Ink{ComponentName})

See GitHub Issue #447 for the full roadmap.

Keywords

eslint

FAQs

Package last updated on 08 Dec 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