@rotki/no-dot-ts-imports
Checks and replaces .ts extension in import statements.
- ⭐ 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 the usage of the .ts extension when importing dependencies.
- ✒️️ The
--fix
option on the command line can automatically fix some of the problems reported by this rule.
⚙️ Options
json
{
"@rotki/no-dot-ts-import": ["error"]
}
🚀 Version
This rule was introduced in @rotki/eslint-plugin
v0.6.0