-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ARGG-741]: Add rule to set alphabetical order of imports (#623)
- Loading branch information
1 parent
a77afec
commit b41bbef
Showing
4 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* eslint-disable no-unused-vars,import/no-unresolved,import/extensions */ | ||
// import/order | ||
import ReactDom from 'react-dom'; | ||
Check failure on line 3 in test/order-fail.jsx GitHub Actions / Run-Tests / Test
|
||
import PropTypes from 'prop-types'; | ||
import { Component, Fragment } from 'react'; | ||
|
||
import { fontSizeSm } from '@skyscanner/bpk-foundations-web/tokens/base.es6'; | ||
Check failure on line 7 in test/order-fail.jsx GitHub Actions / Run-Tests / Test
|
||
import ArrowUpIcon from '@skyscanner/backpack-web/bpk-component-icon/sm/long-arrow-up'; | ||
import BpkButton from '@skyscanner/backpack-web/bpk-component-button'; | ||
import BpkButtonLink from '@skyscanner/backpack-web/bpk-component-link'; | ||
|
||
import Component1 from '../Component1'; | ||
import Component2 from '../../Component2'; | ||
/* eslint-enable no-unused-vars,import/no-unresolved,import/extensions */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters