Skip to content

Commit d6c09dc

Browse files
committed
Added webpack, ESLint and polyfill.io usage
1 parent db773e5 commit d6c09dc

20 files changed

+5724
-5464
lines changed

.eslintrc

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"parser": "babel-eslint",
3+
"parserOptions": {
4+
"sourceType": "module",
5+
"ecmaFeatures": {
6+
"jsx": true,
7+
"modules": true
8+
}
9+
},
10+
"env": {
11+
"es6": true,
12+
"browser": true,
13+
"commonjs": true
14+
},
15+
"globals": {
16+
"APP_VERSION": true
17+
},
18+
"extends": [
19+
"plugin:import/errors",
20+
"plugin:import/warnings",
21+
],
22+
"settings": {
23+
"import/resolver": "webpack"
24+
},
25+
"rules": {
26+
"key-spacing": [1, {
27+
"beforeColon": false,
28+
"afterColon": true
29+
}],
30+
"comma-spacing": [1, {
31+
"before": false,
32+
"after": true
33+
}],
34+
"object-curly-spacing": ["warn", "always"],
35+
"no-trailing-spaces": ["warn"],
36+
"no-multiple-empty-lines": ["warn", { "max": 1 }],
37+
"no-undef": 1,
38+
"quotes": [1, "single"],
39+
"jsx-quotes": ["warn", "prefer-single"],
40+
"eol-last": ["warn", "always"],
41+
"no-underscore-dangle": 0,
42+
"no-unused-vars": 1,
43+
"no-debugger": 1,
44+
"no-console": 1,
45+
"react/jsx-uses-react": 2,
46+
"react/jsx-uses-vars": 2,
47+
"react/react-in-jsx-scope": 2,
48+
"react/jsx-no-undef": 2,
49+
"indent": ["warn", 4],
50+
"semi": ["warn", "never"]
51+
},
52+
"plugins": [
53+
"react",
54+
"import"
55+
]
56+
}

.gitignore

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
*.suo
2+
3+
# Logs
4+
logs
5+
*.log
6+
7+
# Runtime data
8+
pids
9+
*.pid
10+
*.seed
11+
12+
# Directory for instrumented libs generated by jscoverage/JSCover
13+
lib-cov
14+
15+
# Coverage directory used by tools like istanbul
16+
coverage
17+
18+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
19+
.grunt
20+
21+
# Compiled binary addons (http://nodejs.org/api/addons.html)
22+
build/Release
23+
24+
# Dependency directory
25+
# Commenting this out is preferred by some people, see
26+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
27+
node_modules
28+
29+
# Users Environment Variables
30+
.lock-wscript
31+
32+
workspace.xml
33+
.idea/encodings.xml
34+
.idea/vcs.xml
35+
36+
**/build/*

ColorShifter.js

-144
This file was deleted.

0 commit comments

Comments
 (0)