style: format

This commit is contained in:
Sérgio Ramos 2018-03-15 19:05:02 +00:00
parent 23ddc68ade
commit e95168bbf0
4 changed files with 36 additions and 36 deletions

View File

@ -21,7 +21,7 @@ const {
SDC_URL,
BASE_URL = `http://0.0.0.0:${PORT}`,
ROLLBAR_SERVER_TOKEN,
NODE_ENV = 'development',
NODE_ENV = 'development'
// CONSOLE = 'my-joy-instances'
} = process.env;

View File

@ -26,39 +26,39 @@ const Values = touched => (
</Margin>
);
// {rule.type === 'tag' ? (
// <Fragment>
// <FormGroup name="name" field={Field}>
// <Input
// style={style}
// onBlur={null}
// type="text"
// placeholder="name"
// small
// embedded
// required
// />
// <FormMeta small absolute />
// </FormGroup>
// <H5 style={style} inline noMargin>
// and value{' '}
// </H5>
// <FormGroup name="pattern" field={Field}>
// {Values(rule.pattern)}
// </FormGroup>
// <FormGroup name="value" field={Field}>
// <Input
// style={style}
// onBlur={null}
// type="text"
// placeholder="value"
// embedded
// required
// />
// <FormMeta small absolute />
// </FormGroup>
// </Fragment>
// ) : (
// {rule.type === 'tag' ? (
// <Fragment>
// <FormGroup name="name" field={Field}>
// <Input
// style={style}
// onBlur={null}
// type="text"
// placeholder="name"
// small
// embedded
// required
// />
// <FormMeta small absolute />
// </FormGroup>
// <H5 style={style} inline noMargin>
// and value{' '}
// </H5>
// <FormGroup name="pattern" field={Field}>
// {Values(rule.pattern)}
// </FormGroup>
// <FormGroup name="value" field={Field}>
// <Input
// style={style}
// onBlur={null}
// type="text"
// placeholder="value"
// embedded
// required
// />
// <FormMeta small absolute />
// </FormGroup>
// </Fragment>
// ) : (
export const Rule = ({ valid, ...rule }) => (
<Margin bottom={valid ? 4 : 8}>

View File

@ -281,7 +281,7 @@ export default compose(
const patterns = {
equalling: value => value,
starting: value => `/^${value}/`,
starting: value => `/^${value}/`
};
const _name = identity === 'name' ? 'instance' : name;

View File

@ -10,4 +10,4 @@
"no-negated-condition": 0,
"jsx-a11y/href-no-hash": 0
}
}
}