Skip to content

Commit

Permalink
Enable sort-imports lint rule
Browse files Browse the repository at this point in the history
Summary:
Changelog: Internal

Enables the `sort-imports` lint rule in the Metro repo, to align with other Meta repos. I will codemod all existing files to comply with the lint rule in a separate diff.

Reviewed By: robhogan

Differential Revision: D51946976

fbshipit-source-id: bb3cdac03928e388f8781fcd684183d4ef1baee0
  • Loading branch information
motiz88 authored and facebook-github-bot committed Dec 8, 2023
1 parent fae2ee9 commit e0b0c88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/eslint/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = {
'consistent-return': 'error',
'import/no-extraneous-dependencies': 'error',
'lint/extra-arrow-initializer': 'off',
'lint/sort-imports': 'warn',
'lint/strictly-null': 'warn',
'max-len': 'off',
'no-alert': 'error',
Expand Down

0 comments on commit e0b0c88

Please sign in to comment.