Skip to content

Commit 7d5a4a2

Browse files
author
kenberkeley
committed
based on Vue Demo released !!!
1 parent 0c4d5b4 commit 7d5a4a2

File tree

150 files changed

+1045
-13625
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+1045
-13625
lines changed

.babelrc

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
// NOTE: These options are overriden by the babel-loader configuration
2-
// for webpack, which can be found in ~/build/webpack.config.
3-
//
4-
// Why? The react-transform-hmr plugin depends on HMR (and throws if
5-
// module.hot is disabled), so keeping it and related plugins contained
6-
// within webpack helps prevent unexpected errors.
71
{
82
"presets": ["es2015", "react", "stage-0"],
9-
"plugins": ["transform-runtime"]
3+
"plugins": ["transform-runtime"],
4+
"comments": false
105
}

.eslintignore

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
blueprints/**/files/**
2-
coverage/**
3-
node_modules/**
41
dist/**
5-
*.spec.js
6-
src/index.html
2+
node_modules/**
3+
src/assets/**
4+
static/**

.eslintrc

+185-20
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,193 @@
11
{
2-
"parser" : "babel-eslint",
3-
"extends" : [
4-
"standard",
5-
"standard-react"
6-
],
2+
"parser": "babel-eslint",
3+
"env": {
4+
"browser": true,
5+
"node": true,
6+
"jquery": true
7+
},
78
"plugins": [
8-
"babel"
9+
"react"
910
],
10-
"env" : {
11-
"browser" : true
11+
"globals": {
12+
"__DEV__": true,
13+
"__PROD__": true,
14+
"__COMPONENT_DEVTOOLS__": false,
15+
"__WHY_DID_YOU_UPDATE__": false
1216
},
13-
"globals" : {
14-
"__DEV__" : false,
15-
"__PROD__" : false,
16-
"__DEBUG__" : false,
17-
"__COVERAGE__" : false,
18-
"__BASENAME__" : false,
19-
"__EMBEDDED_DEVTOOLS__": false
17+
"ecmaFeatures": {
18+
"jsx": true,
19+
"arrowFunctions": true,
20+
"destructuring": true,
21+
"classes": true,
22+
"defaultParams": true,
23+
"blockBindings": true,
24+
"modules": true,
25+
"objectLiteralComputedProperties": true,
26+
"objectLiteralShorthandMethods": true,
27+
"objectLiteralShorthandProperties": true,
28+
"restParams": true,
29+
"spread": true,
30+
"forOf": true,
31+
"generators": true,
32+
"templateStrings": true,
33+
"superInFunctions": true,
34+
"experimentalObjectRestSpread": true
2035
},
2136
"rules": {
22-
"semi" : [2, "never"],
23-
"max-len": [2, 120, 2],
24-
"generator-star-spacing": 0,
25-
"babel/generator-star-spacing": 1,
26-
"jsx-quotes": [2, "prefer-single"],
37+
"accessor-pairs": 2,
38+
"array-bracket-spacing": 0,
39+
"block-scoped-var": 0,
40+
"brace-style": [0, "allman", { "allowSingleLine": true }],
41+
"camelcase": 1,
42+
"comma-dangle": [2, "never"],
43+
"comma-spacing": [2, { "before": false, "after": true }],
44+
"comma-style": [2, "last"],
45+
"complexity": 0,
46+
"computed-property-spacing": 0,
47+
"consistent-return": 0,
48+
"consistent-this": 0,
49+
"constructor-super": 2,
50+
"curly": [0, "multi-line"],
51+
"default-case": 0,
52+
"dot-location": [2, "property"],
53+
"dot-notation": 0,
54+
"eol-last": 2,
55+
"eqeqeq": 0,
56+
"func-names": 0,
57+
"func-style": 0,
58+
"generator-star-spacing": [2, { "before": true, "after": true }],
59+
"guard-for-in": 0,
60+
"handle-callback-err": [2, "^(err|error)$" ],
61+
"indent": 0,
62+
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
63+
"linebreak-style": 0,
64+
"lines-around-comment": 0,
65+
"max-nested-callbacks": 0,
66+
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
67+
"new-parens": 2,
68+
"newline-after-var": 0,
69+
"no-alert": 0,
70+
"no-array-constructor": 2,
71+
"no-caller": 2,
72+
"no-catch-shadow": 0,
73+
"no-cond-assign": 2,
74+
"no-console": 0,
75+
"no-constant-condition": 0,
76+
"no-continue": 0,
77+
"no-control-regex": 2,
78+
"no-debugger": 2,
79+
"no-delete-var": 2,
80+
"no-div-regex": 0,
81+
"no-dupe-args": 2,
82+
"no-dupe-keys": 2,
83+
"no-duplicate-case": 2,
84+
"no-else-return": 0,
85+
"no-empty": 0,
86+
"no-empty-character-class": 2,
87+
"no-empty-label": 2,
88+
"no-eq-null": 0,
89+
"no-eval": 2,
90+
"no-ex-assign": 2,
91+
"no-extend-native": 2,
92+
"no-extra-bind": 2,
93+
"no-extra-boolean-cast": 2,
94+
"no-extra-parens": 0,
95+
"no-extra-semi": 0,
96+
"no-fallthrough": 2,
97+
"no-floating-decimal": 2,
98+
"no-func-assign": 2,
99+
"no-implied-eval": 2,
100+
"no-inline-comments": 0,
101+
"no-inner-declarations": [2, "functions"],
102+
"no-invalid-regexp": 2,
103+
"no-irregular-whitespace": 2,
104+
"no-iterator": 2,
105+
"no-label-var": 2,
106+
"no-labels": 2,
107+
"no-lone-blocks": 2,
108+
"no-lonely-if": 0,
109+
"no-loop-func": 0,
110+
"no-mixed-requires": 0,
111+
"no-mixed-spaces-and-tabs": 2,
112+
"no-multi-spaces": 2,
113+
"no-multi-str": 2,
114+
"no-multiple-empty-lines": [0, { "max": 1 }],
115+
"no-native-reassign": 2,
116+
"no-negated-in-lhs": 2,
117+
"no-nested-ternary": 0,
118+
"no-new": 2,
119+
"no-new-func": 0,
120+
"no-new-object": 2,
121+
"no-new-require": 2,
122+
"no-new-wrappers": 2,
123+
"no-obj-calls": 2,
124+
"no-octal": 2,
125+
"no-octal-escape": 2,
126+
"no-param-reassign": 0,
127+
"no-path-concat": 0,
128+
"no-process-env": 0,
129+
"no-process-exit": 0,
130+
"no-proto": 0,
131+
"no-redeclare": 2,
132+
"no-regex-spaces": 2,
133+
"no-restricted-modules": 0,
134+
"no-return-assign": 2,
135+
"no-script-url": 0,
136+
"no-self-compare": 2,
137+
"no-sequences": 2,
138+
"no-shadow": 0,
139+
"no-shadow-restricted-names": 2,
140+
"no-spaced-func": 2,
141+
"no-sparse-arrays": 2,
142+
"no-sync": 0,
143+
"no-ternary": 0,
144+
"no-this-before-super": 2,
145+
"no-throw-literal": 2,
146+
"no-trailing-spaces": 0,
147+
"no-undef": 2,
148+
"no-undef-init": 2,
149+
"no-undefined": 0,
150+
"no-underscore-dangle": 0,
151+
"no-unexpected-multiline": 2,
152+
"no-unneeded-ternary": 2,
153+
"no-unreachable": 2,
154+
"no-unused-expressions": 0,
155+
"no-unused-vars": [2, { "vars": "all", "varsIgnorePattern": "React", "args": "none" }],
156+
"no-use-before-define": 0,
157+
"no-var": 0,
158+
"no-void": 0,
159+
"no-warning-comments": 0,
160+
"no-with": 2,
161+
"object-curly-spacing": 0,
162+
"object-shorthand": 0,
163+
"one-var": [2, { "initialized": "never" }],
164+
"operator-assignment": 0,
165+
"operator-linebreak": 0,
166+
"padded-blocks": 0,
167+
"prefer-const": 0,
168+
"quote-props": 0,
169+
"quotes": [2, "single", "avoid-escape"],
170+
"radix": 2,
171+
"react/jsx-uses-react": 2,
172+
"react/jsx-uses-vars": 2,
173+
"semi": [2, "never"],
174+
"semi-spacing": 0,
175+
"sort-vars": 0,
176+
"space-after-keywords": [2, "always"],
177+
"space-before-blocks": [2, "always"],
178+
"space-before-function-paren": 0,
179+
"space-in-parens": [2, "never"],
180+
"space-infix-ops": 2,
181+
"space-return-throw-case": 2,
182+
"space-unary-ops": [2, { "words": true, "nonwords": false }],
183+
"spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!"] }],
184+
"strict": 0,
185+
"use-isnan": 2,
186+
"valid-jsdoc": 0,
187+
"valid-typeof": 2,
188+
"vars-on-top": 0,
189+
"wrap-iife": [2, "any"],
190+
"wrap-regex": 0,
191+
"yoda": [2, "never"]
27192
}
28193
}

.gitignore

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
.DS_STORE
1+
.DS_Store
22
*.log
3-
node_modules
4-
dist
53
coverage
4+
dist
5+
node_modules

0 commit comments

Comments
 (0)