Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 9f6e68a

Browse files
committed
updated dev dependencies
1 parent c8a6323 commit 9f6e68a

File tree

2 files changed

+23
-14
lines changed

2 files changed

+23
-14
lines changed

.eslintrc

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
"browser": true,
2424
"node": true,
2525
"jasmine": true,
26-
"jquery": true,
27-
"es6": true
26+
"jquery": true
2827
},
2928
"globals": {
30-
"If": true
29+
"If": true,
30+
"Else": true
3131
},
3232
"rules": {
3333
"strict": [2, "global"],
@@ -41,7 +41,7 @@
4141
"no-else-return": 2,
4242
"wrap-iife": [2, "inside"],
4343
"no-throw-literal": 2,
44-
"indent": [2, 4, {"indentSwitchCase": true}],
44+
"indent": [2, 4, {"SwitchCase": 1}],
4545
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
4646
"camelcase": 2,
4747
"eol-last": 2,
@@ -51,11 +51,11 @@
5151
}],
5252
"no-mixed-spaces-and-tabs": 2,
5353
"no-multiple-empty-lines": [1, {"max": 2}],
54-
"no-space-before-semi": 2,
54+
"semi-spacing": [2, {"before": false, "after": true}],
5555
"no-spaced-func": 2,
5656
"no-trailing-spaces": 2,
5757
"no-underscore-dangle": 0,
58-
"no-wrap-func": 2,
58+
"no-extra-parens": [2, "functions"],
5959
"no-var": 2,
6060
"object-shorthand": [2, "always"],
6161
"operator-assignment": [2, "always"],
@@ -67,16 +67,25 @@
6767
"space-return-throw-case": 2,
6868
"space-unary-ops": [2, {"words": true, "nonwords": false}],
6969
"react/display-name": 1,
70+
"react/jsx-boolean-value": [2, "always"],
71+
"react/jsx-curly-spacing": [2, "never"],
72+
"react/jsx-max-props-per-line": 0,
73+
"react/jsx-no-duplicate-props": [2, { "ignoreCase": true }],
74+
"react/jsx-no-literals": 0,
75+
"react/jsx-no-undef": 2,
7076
"react/jsx-quotes": [2, "double"],
71-
"react/jsx-no-undef": 1,
77+
"react/jsx-sort-prop-types": [2, { "ignoreCase": true }],
78+
"react/jsx-sort-prop": 0,
7279
"react/jsx-uses-react": 1,
7380
"react/jsx-uses-vars": 1,
81+
"react/no-danger": 2,
7482
"react/no-did-mount-set-state": [1, "allowed-in-func"],
7583
"react/no-did-update-set-state": 1,
7684
"react/no-multi-comp": 1,
7785
"react/no-unknown-property": 1,
7886
"react/prop-types": 0,
7987
"react/react-in-jsx-scope": 1,
88+
"react/require-extension": 0,
8089
"react/self-closing-comp": 1,
8190
"react/sort-comp": 1,
8291
"react/wrap-multilines": 1

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
"react": "^0.13.3"
3131
},
3232
"devDependencies": {
33-
"babel": "^5.6.14",
34-
"babel-core": "^5.6.15",
35-
"babel-eslint": "^3.1.20",
36-
"babel-loader": "^5.3.0",
37-
"eslint": "^0.24.0",
38-
"eslint-plugin-react": "^2.6.4",
33+
"babel": "^5.8.21",
34+
"babel-core": "^5.8.22",
35+
"babel-eslint": "^4.0.5",
36+
"babel-loader": "^5.3.2",
37+
"eslint": "^1.1.0",
38+
"eslint-plugin-react": "^3.2.2",
3939
"node-libs-browser": "^0.5.2",
4040
"react-router": "^0.13.3",
41-
"webpack": "^1.10.1",
41+
"webpack": "^1.11.0",
4242
"webpack-dev-server": "^1.10.1"
4343
}
4444
}

0 commit comments

Comments
 (0)