Adjusted configs

pull/8/head
Vladimir Volek 6 years ago
parent 04ab2bce83
commit b0b4f08aba

@ -8,6 +8,24 @@
], ],
"rules": { "rules": {
"indentation": 4, "indentation": 4,
"block-no-empty": null "declaration-empty-line-before": null,
"custom-property-empty-line-before": null,
"max-empty-lines": 1,
"block-no-empty": null,
"property-no-unknown": [
true, {
"ignoreProperties": ["composes", "font-smoothing", "font-smooth"]
}
],
"at-rule-empty-line-before": [
"always", {
"ignoreAtRules": [
"import"
]
}
],
"at-rule-no-unknown": [ true, {
ignoreAtRules: ["each"]
}]
} }
} }

@ -2,7 +2,6 @@ module.exports = {
rootDir: './src', rootDir: './src',
collectCoverage: true, collectCoverage: true,
testURL: 'http://localhost', testURL: 'http://localhost',
modulePathIgnorePatterns: [ modulePathIgnorePatterns: [
'node_modules', 'node_modules',
], ],

@ -1,12 +1,8 @@
{ {
"name": "trezor-connect-react-boilerplate", "name": "trezor-wallet",
"version": "1.0.0", "version": "1.0.0",
"author": "TREZOR <info@trezor.io>", "author": "TREZOR <info@trezor.io>",
"description": "", "description": "",
"repository": {
"type": "git",
"url": "https://github.com/szymonlesisz/trezor-connect-react-boilerplate.git"
},
"bugs": { "bugs": {
"url": "https://github.com/szymonlesisz/trezor-connect-react-boilerplate/issues" "url": "https://github.com/szymonlesisz/trezor-connect-react-boilerplate/issues"
}, },

@ -29,12 +29,14 @@ const StyledInput = styled.input`
box-shadow: 0 1px 4px 0 rgba(1, 183, 87, 0.25); box-shadow: 0 1px 4px 0 rgba(1, 183, 87, 0.25);
} }
`} `}
${props => props.isWarning && css` ${props => props.isWarning && css`
border-color: ${colors.WARNING_PRIMARY}; border-color: ${colors.WARNING_PRIMARY};
&:focus { &:focus {
box-shadow: 0 1px 4px 0 rgba(235, 138, 0, 0.25); box-shadow: 0 1px 4px 0 rgba(235, 138, 0, 0.25);
} }
`} `}
${props => props.isError && css` ${props => props.isError && css`
border-color: ${colors.ERROR_PRIMARY}; border-color: ${colors.ERROR_PRIMARY};
&:focus { &:focus {

Loading…
Cancel
Save