We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should use something similar to:
rules: { 'import/order': [ 'error', { alphabetize: { order: 'asc', caseInsensitive: false, }, 'newlines-between': 'always', // the overall order of imports groups: ['builtin', 'external', 'internal', ['sibling', 'parent', 'index'], 'object'], pathGroupsExcludedImportTypes: ['builtin'], pathGroups: [ { // 3p imports pattern: '+(!(@))*/**', group: 'external', position: 'before', patternOptions: { nonegate: true }, }, { // scoped external imports excluding our 2p scoped packages pattern: '@!(ipfs|libp2p|ipfs-shipyard|ipld|multiformats)/**', group: 'external', position: 'after', patternOptions: { nonegate: false }, }, { // our 2p scoped packages pattern: '@{ipfs,libp2p,ipfs-shipyard,ipld,multiformats}/**', group: 'parent', position: 'before', patternOptions: { nonegate: true }, }, { // our relative (this package) imports pattern: '.*/**', group: 'index', position: 'after', patternOptions: { dot: true, nonegate: true }, }, ], }, ],
The text was updated successfully, but these errors were encountered:
Closing in favor of ipfs/eslint-config-ipfs#126 and ipfs/aegir#1178
Sorry, something went wrong.
No branches or pull requests
We should use something similar to:
The text was updated successfully, but these errors were encountered: