style: upgrade lint settings

This commit is contained in:
Mariusz Nowak
2017-09-06 12:57:19 +02:00
parent 7c563294bc
commit 53234d3bff
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ var toPosInt = require("../../number/to-pos-integer")
, slice = Array.prototype.slice, apply = Function.prototype.apply
, curry;
curry = function self (fn, length, preArgs) {
curry = function self(fn, length, preArgs) {
return defineLength(function () {
var args = preArgs
? preArgs.concat(slice.call(arguments, 0, length - preArgs.length))
+1 -1
View File
@@ -6,7 +6,7 @@ var compact = require("../array/#/compact")
, isArray = Array.isArray
, stringify = JSON.stringify;
module.exports = function self (value /*, replacer, space*/) {
module.exports = function self(value /*, replacer, space*/) {
var replacer = arguments[1], space = arguments[2];
try {
return stringify(value, replacer, space);
+1 -1
View File
@@ -5,7 +5,7 @@ var isPlainObject = require("./is-plain-object")
, process;
process = function self (value, key) {
process = function self(value, key) {
if (isPlainObject(value)) forEach(value, self, this);
else this[key] = value;
};
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = (function (status) {
};
}
} else {
fn = function self (obj, prototype) {
fn = function self(obj, prototype) {
var isNullBase;
validate(obj, prototype);
isNullBase = objIsPrototypOf.call(self.nullPolyfill, obj);
+1 -1
View File
@@ -31,7 +31,7 @@
},
"devDependencies": {
"eslint": "^4.6.1",
"eslint-config-medikoo-es5": "^1.4.2",
"eslint-config-medikoo-es5": "^1.4.3",
"tad": "~0.2.7"
},
"eslintConfig": {
+1 -1
View File
@@ -3,7 +3,7 @@
module.exports = function (t, a) {
var foo = "raz", bar = "dwa";
// eslint-disable-next-line func-names
var fn = function marko (a, b) {
var fn = function marko(a, b) {
return this + a + b + foo + bar;
};
var result, o = {};