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, SDC_URL,
BASE_URL = `http://0.0.0.0:${PORT}`, BASE_URL = `http://0.0.0.0:${PORT}`,
ROLLBAR_SERVER_TOKEN, ROLLBAR_SERVER_TOKEN,
NODE_ENV = 'development', NODE_ENV = 'development'
// CONSOLE = 'my-joy-instances' // CONSOLE = 'my-joy-instances'
} = process.env; } = process.env;

View File

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

View File

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

View File

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