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

Add eslint-plugin-import and eslint-plugin-prettier #141

Open
cball opened this issue Jul 26, 2020 · 1 comment
Open

Add eslint-plugin-import and eslint-plugin-prettier #141

cball opened this issue Jul 26, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@cball
Copy link
Member

cball commented Jul 26, 2020

We've been using eslint-plugin-import on its own, but we need to add to this plugin.

eslint-plugin-prettier is a dependency but not listed in package.json.

@cball cball added the enhancement New feature or request label Jul 26, 2020
@cball
Copy link
Member Author

cball commented Aug 7, 2020

We will now be using this on web and mobile. Here's the most recent config:

module.exports = {
  rules: {
    'import/order': [
      'warn',
      {
        groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
        'newlines-between': 'always',
      },
    ],
  },
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant