eslint-plugin-change-imports-name
v1.0.2
Published
Eslint rule for changing imports name
Downloads
3
Readme
eslint-plugin-change-imports-name
Plugin changes imports name 'from' to 'to' with autofix.
Usage
{
plugins: [..., 'change-import-names'],
rules: {
...,
'change-import-names/imports':[
'warn',
[
{ from: 'some-unusable-package', to: 'some-usable-package' }
],
[
{ from: 'some-unusable-package2', to: 'some-usable-package2' }
]
]
}
}