Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule: Update import order rule for all consumers #73

Open
benjamincharity opened this issue May 21, 2020 · 0 comments
Open

Rule: Update import order rule for all consumers #73

benjamincharity opened this issue May 21, 2020 · 0 comments
Assignees
Labels
Focus: rule An item concerning existing or new rules

Comments

@benjamincharity
Copy link
Contributor

benjamincharity commented May 21, 2020

Updated rule config to output what we used to have with TSLint:

    'import/order': [
      SEVERITY,
      {
        groups: [
          'external',
          'internal',
          'sibling',
          'parent',
          'builtin',
          'index',
        ],
        pathGroups: [
          {
            pattern: '@terminus/**',
            group: 'external',
            position: 'after'
          }
        ],
        'newlines-between': 'always',
      },
    ],
@benjamincharity benjamincharity added the Focus: rule An item concerning existing or new rules label May 21, 2020
@benjamincharity benjamincharity self-assigned this May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Focus: rule An item concerning existing or new rules
Projects
None yet
Development

No branches or pull requests

1 participant