Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 91fd6db

Browse files
committed
Merge pull request #15 from AlexKVal/deps
Update dev. dependencies
2 parents 23b39fb + 741ab43 commit 91fd6db

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

.eslintrc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,14 @@
1414
"rules": {
1515
"constructor-super": 2,
1616
"comma-dangle": 0,
17-
"comma-spacing": 2,
18-
"comma-style": [2, "last"],
17+
"eqeqeq": [2, "allow-null"],
1918
"one-var": [2, { "initialized": "never" }],
2019
"key-spacing": 0,
2120
"no-eq-null": 0,
2221
"no-param-reassign": 0,
2322
"no-this-before-super": 2,
2423
"no-underscore-dangle": 0,
2524
"no-undef": 2,
26-
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
27-
"no-var": 2,
28-
"babel/object-shorthand": 2,
29-
"quotes": [2, "single", "avoid-escape"],
30-
"strict": [2, "never"]
25+
"babel/object-shorthand": 2
3126
}
3227
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
"chai": "^3.0.0",
4646
"es5-shim": "^4.1.7",
4747
"eslint": "^1.0.0",
48-
"eslint-config-airbnb": "0.0.7",
48+
"eslint-config-airbnb": "0.0.8",
4949
"eslint-plugin-babel": "^2.0.0",
50-
"eslint-plugin-mocha": "^0.4.0",
51-
"eslint-plugin-react": "^3.2.3",
50+
"eslint-plugin-mocha": "^0.5.1",
51+
"eslint-plugin-react": "3.3.2",
5252
"isparta-loader": "^0.2.0",
5353
"karma": "^0.13.7",
5454
"karma-chrome-launcher": "^0.2.0",
@@ -64,7 +64,7 @@
6464
"mt-changelog": "^0.6.1",
6565
"node-libs-browser": "^0.5.2",
6666
"react": "^0.13.3",
67-
"release-script": "^0.2.1",
67+
"release-script": "^0.3.0",
6868
"sinon": "^1.15.4",
6969
"sinon-chai": "^2.8.0",
7070
"webpack": "^1.10.1",

src/singlePropFrom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @returns {Error|undefined}
99
*/
1010
export default function createSinglePropFromChecker(...arrOfProps) {
11-
function validate(props, propName, componentName) {
11+
function validate(props, propName) {
1212
const usedPropCount = arrOfProps
1313
.map(listedProp => props[listedProp])
1414
.reduce((acc, curr) => acc + (curr !== undefined ? 1 : 0), 0);

0 commit comments

Comments
 (0)