import-js/eslint-plugin-import
Vedi su GitHub`no-duplicates` rule has incorrect autofix when comment is present
Open
#1838 aperta il 26 giu 2020
bughelp wanted
Metriche repository
- Star
- (4946 star)
- Metriche merge PR
- (Merge medio 138g 22h) (3 PR mergiate in 30 g)
Descrizione
Original:
import { set } from '@ember/object';
import EmberObject, { observer, computed } from '@ember/object'; // some comment
Autofixes to (invalid):
import EmberObject, { set } from '@ember/object';
import EmberObject, { observer, computed } from '@ember/object'; // some comment
Without the comment, this correctly autofixes to:
import EmberObject, { set, observer, computed } from '@ember/object';