Skip to content

@rotki/no-deprecated-components

Removes deprecated classes that do not exist anymore

  • ⭐ 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 replaced unused or deprecated components used.

⚙️ Options

When legacy is set to true some rules will be skipped for autofix.

json
{
  "@rotki/no-deprecated-components": [
    "error",
    {
      "legacy": true
    }
  ]
}

🚀 Version

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

🔍 Implementation