Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable lint/sort-imports everywhere (facebook#41333)
Summary: Pull Request resolved: facebook#41333 Enables the `sort-imports` lint rule introduced in D39907799 in ~all files, rather than just in `react-native/Libraries`. We exclude only `packages/react-native/template`, in order to (1) minimise noise for projects that are tracking updates to the template, (2) avoid the possibility of something breaking if the `react-native` import isn't at the top of `template/index.js`, (3) avoid leaking a reference to `lint/sort-imports` to the template (which doesn't ship with this rule) via an ESLint suppression comment. Changelog: [Internal] Reviewed By: robhogan Differential Revision: D51025811 fbshipit-source-id: a62b0d6ebc5323116a4b2f1b69c4e8d48cde3215
- Loading branch information