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

CodeClimate Fixes #173

Merged
merged 9 commits into from
Apr 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/Components/Favorite/Favorite.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ Favorite.propTypes = {
hideText: PropTypes.bool,
compareArray: FAVORITE_POSITIONS_ARRAY.isRequired,
isLoading: PropTypes.bool,
hasErrored: PropTypes.bool,
hasBorder: PropTypes.bool,
useLongText: PropTypes.bool,
useButtonClass: PropTypes.bool,
Expand All @@ -209,7 +208,6 @@ Favorite.defaultProps = {
as: 'div',
hideText: false,
isLoading: false,
hasErrored: false,
compareArray: [],
hasBorder: false,
useLongText: false,
Expand Down
2 changes: 1 addition & 1 deletion src/actions/routerLocations.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { first, last } from 'lodash';
import { last } from 'lodash';
import * as actions from './routerLocations';
import routerLocations from '../__mocks__/routerLocations';

Expand Down
5 changes: 5 additions & 0 deletions src/sass/_accessibility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ a {
}
}

// scss-lint:disable SelectorFormat
// The react-picky module uses two underscores in its class names.
// Instead of modifying the source css, the SelectorFormat rule
// has been disabled for this file in order to override styles on the
// default classes.
*:focus,
.usa-focus,
.picky__dropdown > div > .option:focus,
Expand Down
5 changes: 5 additions & 0 deletions src/sass/_bidderPortfolio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@
}
}

// Disable to override the >div:nth-child() styles
// scss-lint:disable MergeableSelector
// scss-lint:disable QualifyingElement
> div.client-checkbox-list {
// scss-lint:enable MergeableSelector
// scss-lint:enable QualifyingElement
display: flex;
flex: 16 1 450px;
flex-wrap: wrap;
Expand Down