sort-imports
/*eslint sort-imports: 2*/
import b from 'foo.js';
import a from 'bar.js'; /*error Imports should be sorted alphabetically.*/
/*eslint sort-imports: 2*/
import a from 'foo.js';
import A from 'bar.js'; /*error Imports should be sorted alphabetically.*/
/*eslint sort-imports: 2*/
import {b, c} from 'foo.js';
import {a, b} from 'bar.js'; /*error Imports should be sorted alphabetically.*/
/*eslint sort-imports: 2*/
import a from 'foo.js';
import {b, c} from 'bar.js'; /*error Imports should be sorted by their member syntax. Use 'multiple' before 'single' member syntax.*/
/*eslint sort-imports: 2*/
import a from 'foo.js';
import * as b from 'bar.js'; /*error Imports should be sorted by their member syntax. Use 'all' before 'single' member syntax. */
/*eslint sort-imports: 2*/
import {b, a, c} from 'foo.js' /*error Members of an import declaration should be sorted alphabetically.*/