Skip to content

Commit de14899

Browse files
committed
Agregando archivos
0 parents commit de14899

34 files changed

+10721
-0
lines changed

.babelrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"presets": [
3+
"@babel/preset-env",
4+
"@babel/preset-react"
5+
]
6+
}

.eslintrc

Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": ["airbnb"],
8+
"globals": {
9+
"document": false,
10+
"escape": false,
11+
"navigator": false,
12+
"unescape": false,
13+
"window": false,
14+
"describe": true,
15+
"before": true,
16+
"it": true,
17+
"expect": true,
18+
"sinon": true
19+
},
20+
"parser": "babel-eslint",
21+
"plugins": [
22+
"react",
23+
"jsx-a11y",
24+
"import"
25+
],
26+
"rules": {
27+
"react/jsx-filename-extension": 0,
28+
"array-bracket-spacing": 2,
29+
"arrow-body-style": 0,
30+
"block-scoped-var": 2,
31+
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
32+
"comma-spacing": [2, { "before": false, "after": true }],
33+
"comma-style": [2, "last"],
34+
"complexity": 0,
35+
"consistent-return": 1,
36+
"consistent-this": 0,
37+
"curly": [2, "multi-line"],
38+
"default-case": 0,
39+
"dot-location": [2, "property"],
40+
"dot-notation": 0,
41+
"eol-last": 2,
42+
"eqeqeq": [2, "allow-null"],
43+
"func-names": 0,
44+
"func-style": 0,
45+
"generator-star-spacing": [2, "both"],
46+
"guard-for-in": 0,
47+
"handle-callback-err": [2, "^(err|error|anySpecificError)$" ],
48+
"indent": [2, 2, { "SwitchCase": 1 }],
49+
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
50+
"linebreak-style": 0,
51+
"max-depth": 0,
52+
"max-len": [2, 1550, 4],
53+
"max-nested-callbacks": 0,
54+
"max-params": 0,
55+
"max-statements": 0,
56+
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
57+
"newline-after-var": [0, "never"],
58+
"new-parens": 2,
59+
"no-alert": 0,
60+
"no-array-constructor": 2,
61+
"no-bitwise": 0,
62+
"no-caller": 2,
63+
"no-catch-shadow": 0,
64+
"no-cond-assign": 2,
65+
"no-console": 0,
66+
"no-constant-condition": 0,
67+
"no-continue": 0,
68+
"no-control-regex": 2,
69+
"no-debugger": 0,
70+
"no-delete-var": 2,
71+
"no-div-regex": 0,
72+
"no-dupe-args": 2,
73+
"no-dupe-keys": 2,
74+
"no-duplicate-case": 2,
75+
"no-else-return": 2,
76+
"no-empty": 0,
77+
"no-empty-character-class": 2,
78+
"no-labels": 2,
79+
"no-eq-null": 0,
80+
"no-eval": 2,
81+
"no-ex-assign": 2,
82+
"no-extend-native": 2,
83+
"no-extra-bind": 2,
84+
"no-extra-boolean-cast": 2,
85+
"no-extra-parens": 0,
86+
"no-extra-semi": 0,
87+
"no-extra-strict": 0,
88+
"no-fallthrough": 2,
89+
"no-floating-decimal": 2,
90+
"no-func-assign": 2,
91+
"no-implied-eval": 2,
92+
"no-inline-comments": 0,
93+
"no-inner-declarations": [2, "functions"],
94+
"no-invalid-regexp": 2,
95+
"no-irregular-whitespace": 2,
96+
"no-iterator": 2,
97+
"no-label-var": 2,
98+
"no-lone-blocks": 0,
99+
"no-lonely-if": 0,
100+
"no-loop-func": 0,
101+
"no-mixed-requires": 0,
102+
"no-mixed-spaces-and-tabs": [2, false],
103+
"no-multi-spaces": 2,
104+
"no-multi-str": 0,
105+
"no-multiple-empty-lines": [2, { "max": 1 }],
106+
"no-native-reassign": 2,
107+
"no-negated-in-lhs": 2,
108+
"no-nested-ternary": 0,
109+
"no-new": 2,
110+
"no-new-func": 2,
111+
"no-new-object": 2,
112+
"no-new-require": 2,
113+
"no-new-wrappers": 2,
114+
"no-obj-calls": 2,
115+
"no-octal": 2,
116+
"no-octal-escape": 2,
117+
"no-path-concat": 0,
118+
"no-plusplus": 0,
119+
"no-process-env": 0,
120+
"no-process-exit": 0,
121+
"no-proto": 2,
122+
"no-redeclare": 2,
123+
"no-regex-spaces": 2,
124+
"no-reserved-keys": 0,
125+
"no-restricted-modules": 0,
126+
"no-script-url": 0,
127+
"no-self-compare": 2,
128+
"no-sequences": 2,
129+
"no-shadow": 0,
130+
"no-shadow-restricted-names": 2,
131+
"no-spaced-func": 2,
132+
"no-sparse-arrays": 2,
133+
"no-sync": 0,
134+
"no-ternary": 0,
135+
"no-throw-literal": 2,
136+
"no-trailing-spaces": 2,
137+
"no-undef": 0,
138+
"no-undef-init": 2,
139+
"no-undefined": 0,
140+
"no-underscore-dangle": 0,
141+
"no-unneeded-ternary": 2,
142+
"no-unreachable": 2,
143+
"no-unused-expressions": 0,
144+
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
145+
"no-var": 2,
146+
"no-void": 0,
147+
"no-warning-comments": 0,
148+
"no-with": 2,
149+
"object-curly-newline": 0,
150+
"object-curly-spacing": [2, "always"],
151+
"one-var": 0,
152+
"operator-assignment": 0,
153+
"operator-linebreak": [2, "after"],
154+
"padded-blocks": 0,
155+
"prefer-const": 2,
156+
"quote-props": 0,
157+
"quotes": [2, "single", "avoid-escape"],
158+
"radix": 2,
159+
"jsx-quotes": [2, "prefer-single"],
160+
"jsx-a11y/click-events-have-key-events": 0,
161+
"jsx-a11y/no-noninteractive-element-interactions": 0,
162+
"jsx-a11y/media-has-caption": 0,
163+
"react/display-name": 0,
164+
"react/jsx-boolean-value": 0,
165+
"react/jsx-closing-bracket-location": 2,
166+
"react/jsx-curly-spacing": [2, "never"],
167+
"react/jsx-equals-spacing": [2, "never"],
168+
"react/jsx-indent-props": [2, 2],
169+
"react/jsx-no-bind": [2, { "allowArrowFunctions": true }],
170+
"react/jsx-no-undef": 2,
171+
"react/jsx-pascal-case": 2,
172+
"react/jsx-sort-prop-types": 0,
173+
"react/jsx-sort-props": 0,
174+
"react/jsx-uses-react": 2,
175+
"react/jsx-uses-vars": 2,
176+
"react/no-did-mount-set-state": 2,
177+
"react/no-did-update-set-state": 2,
178+
"react/no-multi-comp": 0,
179+
"react/no-unknown-property": 2,
180+
"react/prop-types": 0,
181+
"react/forbid-prop-types": 0,
182+
"react/prefer-stateless-function": 0,
183+
"react/require-default-props": 0,
184+
"react/react-in-jsx-scope": 2,
185+
"react/self-closing-comp": 2,
186+
"react/sort-comp": 0,
187+
"react/jsx-wrap-multilines": 2,
188+
"semi-spacing": 0,
189+
"sort-vars": 0,
190+
"space-before-blocks": [2, "always"],
191+
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
192+
"space-in-parens": [2, "never"],
193+
"space-infix-ops": 2,
194+
"keyword-spacing": 2,
195+
"space-unary-ops": [2, { "words": true, "nonwords": false }],
196+
"spaced-comment": [0, "always"],
197+
"strict": 0,
198+
"use-isnan": 2,
199+
"valid-jsdoc": 0,
200+
"valid-typeof": 2,
201+
"vars-on-top": 2,
202+
"wrap-iife": [2, "any"],
203+
"wrap-regex": 0,
204+
"yoda": [2, "never"]
205+
}
206+
}

.gitignore

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Node template
2+
3+
# Logs
4+
logs
5+
*.log
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log*
9+
10+
# Runtime data
11+
pids
12+
*.pid
13+
*.seed
14+
*.pid.lock
15+
16+
# Directory for instrumented libs generated by jscoverage/JSCover
17+
lib-cov
18+
19+
# Coverage directory used by tools like istanbul
20+
coverage
21+
22+
# nyc test coverage
23+
.nyc_output
24+
25+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26+
.grunt
27+
28+
# Bower dependency directory (https://bower.io/)
29+
bower_components
30+
31+
# node-waf configuration
32+
.lock-wscript
33+
34+
# Compiled binary addons (https://nodejs.org/api/addons.html)
35+
build/Release
36+
37+
# Dependency directories
38+
node_modules/
39+
jspm_packages/
40+
41+
# Typescript v1 declaration files
42+
typings/
43+
44+
# Optional npm cache directory
45+
.npm
46+
47+
# Optional eslint cache
48+
.eslintcache
49+
50+
# Optional REPL history
51+
.node_repl_history
52+
53+
# Output of 'npm pack'
54+
*.tgz
55+
56+
# Yarn Integrity file
57+
.yarn-integrity
58+
59+
# dotenv environment variables file
60+
.env
61+
62+
# IDE
63+
.idea/*
64+
*.iml
65+
*.sublime-*
66+
67+
# OSX
68+
.DS_Store
69+
.vscode
70+
71+
# Docs Custom
72+
.cache/
73+
yarn-error.log
74+
75+
# Build
76+
dist/

0 commit comments

Comments
 (0)