Skip to content

@rotki/no-legacy-library-import

Reports and replaces imports of @rotki/ui-library-compat with @rotki/ui-library

  • ⭐ The "extends": "plugin:@rotki/recommended" property in a configuration file enables this rule.
  • ✒️️ The --fix option on the command line can automatically fix some of the problems reported by this rule.

📖 Rule Details

This rule reports usages of @rotki/ui-library-compat.

⚙️ Options

json
{
  "@rotki/no-legacy-library-import": ["error"]
}

🚀 Version

This rule was introduced in @rotki/eslint-plugin v0.2.0

🔍 Implementation