Skip to content
Open
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
16 changes: 8 additions & 8 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"babel-plugin-transform-class-properties"
]
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"babel-plugin-transform-class-properties"
]
}
72 changes: 36 additions & 36 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
{
"extends": [
"airbnb",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/prop-types": 0,
"no-underscore-dangle": 0,
"import/imports-first": [
"error",
"absolute-first"
],
"import/newline-after-import": "error"
},
"globals": {
"window": true,
"document": true,
"localStorage": true,
"FormData": true,
"FileReader": true,
"Blob": true,
"navigator": true
},
"parser": "babel-eslint"
{
"extends": [
"airbnb",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/prop-types": 0,
"no-underscore-dangle": 0,
"import/imports-first": [
"error",
"absolute-first"
],
"import/newline-after-import": "error"
},
"globals": {
"window": true,
"document": true,
"localStorage": true,
"FormData": true,
"FileReader": true,
"Blob": true,
"navigator": true
},
"parser": "babel-eslint"
}
4 changes: 2 additions & 2 deletions .github/auto-comment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pullRequestOpened: >
Gracias por enviar el Pull Request.
pullRequestOpened: >
Gracias por enviar el Pull Request.
Recuerda que tienes hasta el miercoles a las 11:59 P.M. para enviar tu reto completo.
10 changes: 5 additions & 5 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
addReviewers: true
addAssignees: author
reviewers:
- gndx
numberOfReviewers: 0
addReviewers: true
addAssignees: author
reviewers:
- gndx
numberOfReviewers: 0
2 changes: 1 addition & 1 deletion .github/autolabeler.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
frontend: ["*.js", "*.jsx", "*.css", "*.html"]
frontend: ["*.js", "*.jsx", "*.css", "*.html"]
8 changes: 4 additions & 4 deletions .github/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
requestInfoReplyComment: >
Es importante ofrecer información de tu Pull Request.
requestInfoLabelToAdd: needs-more-info
checkPullRequestTemplate: true
requestInfoReplyComment: >
Es importante ofrecer información de tu Pull Request.
requestInfoLabelToAdd: needs-more-info
checkPullRequestTemplate: true
6 changes: 3 additions & 3 deletions .github/eslint-disable-bot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Change this to set the number of comments the watcher should comment on a given PR.
commentLimit: 20
# The message the bot will post on any lines containing a eslint disable comment.
# Change this to set the number of comments the watcher should comment on a given PR.
commentLimit: 20
# The message the bot will post on any lines containing a eslint disable comment.
commentMessage: Por favor no deshabilites la reglas de ESlint :pray:
10 changes: 5 additions & 5 deletions .github/minimum-reviews.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Number of reviews required to mark the pull request as valid
reviewsUntilReady: 1
changesThreshold: 20
readyMessage: 'No pending reviews'
notReadyMessage: 'Pending review approvals'
# Number of reviews required to mark the pull request as valid
reviewsUntilReady: 1
changesThreshold: 20
readyMessage: 'No pending reviews'
notReadyMessage: 'Pending review approvals'
notReadyState: 'pending'
122 changes: 61 additions & 61 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next
8 changes: 4 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"trailingComma": "es5",
"semi": true,
"singleQuote": true
{
"trailingComma": "es5",
"semi": true,
"singleQuote": true
}
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js
node_js: 9
sudo: false
install:
- npm install
script:
language: node_js
node_js: 9
sudo: false
install:
- npm install
script:
- npm run build
42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License

Copyright (c) 2019 Comunidad Platzi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
Copyright (c) 2019 Comunidad Platzi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
24 changes: 12 additions & 12 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## DESCRIPTION

Solución al reto 01 de React

Nombre:
Usuario Platzi:

## Reto:
- [ ] Primer problema
- [ ] Segundo problema
- [ ] Tercer problema
- [ ] Cuarto Problema (Opcional)
## DESCRIPTION
Solución al reto 01 de React
Nombre: Alejandro Cantillo
Usuario Platzi: alejocantillo95
## Reto:
- [ok] Primer problema
- [ok] Segundo problema
- [ok] Tercer problema
- [ok] Cuarto Problema (Opcional)
Loading