Skip to content

Commit

Permalink
Merge branch 'no-context'
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Jan 29, 2019
2 parents 43fa7dc + 754bfcd commit 630b68e
Show file tree
Hide file tree
Showing 117 changed files with 10,522 additions and 197,376 deletions.
2 changes: 0 additions & 2 deletions .eslintrc

This file was deleted.

11 changes: 11 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
parser: babel-eslint
extends: jason/react
globals:
Promise: true
rules:
no-unused-vars:
- off
- vars: all
args: after-used
varsIgnorePattern: ^_
argsIgnorePattern: ^_
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/lib
/es
/www/cache
/www/public

# Logs
logs
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var yup = require('yup')
var modelSchema = yup.object({
name: yup.object({
first: yup.string().required('Name is required'),
last: yup.string().required('Name is required')
last: yup.string().required('Name is required')
}),
dateOfBirth: yup.date()
.max(new Date(), 'You can be born in the future!')
Expand All @@ -52,7 +52,7 @@ render() {
<Form.Field name='dateOfBirth'/>
<Form.Message for='dateOfBirth'/>
</fieldset>
<Form.Button type='submit'>Submit</Form.Button>
<Form.Submit type='submit'>Submit</Form.Submit>
</Form>
)
}
Expand Down
221 changes: 0 additions & 221 deletions docs/app.js

This file was deleted.

Loading

0 comments on commit 630b68e

Please sign in to comment.