Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 3月 09, 2023
  2. 8月 17, 2020
    • Vitaly Slobodin's avatar
      Fix imports orders in JavaScript · fb22121e
      Vitaly Slobodin 创作于
      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
  3. 3月 19, 2020
加载中