• Vitaly Slobodin's avatar
    Fix imports orders in JavaScript · fb22121e
    Vitaly Slobodin authored
    We follow this imports order:
    // 1. "external" modules
    import _ from 'lodash';
    import chalk from 'chalk';
    // 2. "internal" and aliased modules
    import foo from 'src/foo';
    // 3. modules from a "parent" directory
    import foo from '../foo';
    import qux from '../../foo/qux';
    // 4. "sibling" modules from the same or a sibling's directory
    import bar from './bar';
    import baz from './bar/baz';
    // 5. "index" of the current directory
    import main from './';
    fb22121e
group_empty_state.vue 3.11 KB