Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 454 Bytes

import-replace.md

File metadata and controls

30 lines (18 loc) · 454 Bytes

import-replace/import-replace

🔧 This rule is automatically fixable by the --fix CLI option.

Rule Details

[ { form: 'lodash', to: 'lodash-es' } ]

Examples of incorrect code for this rule:

import _ from 'lodash';

Examples of correct code for this rule:

import _ from 'lodash-es';