Skip to content

Commit

Permalink
Update covert, jscs, eslint, semver
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 26, 2015
1 parent 2a86466 commit 6ad9c2b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 5 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"consistent-this": [0, "that"],
"curly": [2, "all"],
"default-case": [2],
"dot-notation": [2, { "allowKeywords": false, "allowPattern": "^__proto__$" }],
"dot-notation": [2, { "allowKeywords": true }],
"eol-last": [2],
"eqeqeq": [2],
"func-names": [0],
Expand All @@ -29,6 +29,7 @@
"guard-for-in": [0],
"handle-callback-err": [0],
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"linebreak-style": [2, "unix"],
"quotes": [2, "single", "avoid-escape"],
"max-depth": [0, 4],
"max-len": [0, 80, 4],
Expand Down Expand Up @@ -119,11 +120,12 @@
"no-sync": [0],
"no-ternary": [0],
"no-throw-literal": [2],
"no-trailing-spaces": [2],
"no-trailing-spaces": [2, { "skipBlankLines": false }],
"no-undef": [2],
"no-undef-init": [2],
"no-undefined": [0],
"no-underscore-dangle": [2],
"no-unneeded-ternary": [2],
"no-unreachable": [2],
"no-unused-expressions": [2],
"no-unused-vars": [2, { "vars": "all", "args": "after-used" }],
Expand All @@ -135,7 +137,7 @@
"object-shorthand": [2, "never"],
"one-var": [0],
"operator-assignment": [0, "always"],
"operator-linebreak": [2, "after"],
"operator-linebreak": [2, "none"],
"padded-blocks": [0],
"quote-props": [0],
"radix": [0],
Expand Down
2 changes: 0 additions & 2 deletions .jscs.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

"disallowIdentifierNames": [],

"requirePaddingNewLinesBeforeLineComments": true,

"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],

"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"],
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ var isCallable = require('is-callable');
var getPrototypeOf = Object.getPrototypeOf;
if (!getPrototypeOf) {
/* eslint-disable no-proto */
if (typeof 'test'['__proto__'] === 'object') {
if (typeof 'test'.__proto__ === 'object') {
getPrototypeOf = function (obj) {
return obj['__proto__'];
return obj.__proto__;
};
} else {
getPrototypeOf = function (obj) {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
},
"devDependencies": {
"tape": "^4.0.0",
"covert": "^1.0.1",
"jscs": "^1.13.0",
"covert": "^1.1.0",
"jscs": "^1.13.1",
"foreach": "^2.0.5",
"make-arrow-function": "^1.0.0",
"make-generator-function": "^1.1.0",
"semver": "^4.3.3",
"eslint": "^0.20.0",
"semver": "^4.3.4",
"eslint": "^0.21.2",
"nsp": "^1.0.1"
},
"testling": {
Expand Down

0 comments on commit 6ad9c2b

Please sign in to comment.