diff --git a/.eslintrc.json b/.eslintrc.json index bb97916e0..f61a148b8 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,8 +8,7 @@ "worker": false }, "extends": [ - "eslint:recommended", - "esnext" + "eslint:recommended" ], "globals": { "ABG": false, @@ -166,8 +165,7 @@ "plugins": [ "import", "node", - "promise", - "standard" + "promise" ], "rules": { "accessor-pairs": "error", @@ -555,11 +553,6 @@ } } ], - "standard/computed-property-even-spacing": [ - "error", - "even" - ], - "standard/no-callback-literal": "error", "symbol-description": "error", "template-curly-spacing": [ "error", diff --git a/helpers b/helpers index c3a69c540..d5d62b3d8 160000 --- a/helpers +++ b/helpers @@ -1 +1 @@ -Subproject commit c3a69c54021d9449efbbd1b643d8434d0363e819 +Subproject commit d5d62b3d8f0b5245b794d984321aaa15afec710c diff --git a/lib/bus-data.js b/lib/bus-data.js index dd3cffbb4..3ba7dea29 100644 --- a/lib/bus-data.js +++ b/lib/bus-data.js @@ -151,7 +151,7 @@ function parse_canbus_kcd(data) { case 'engine.running' : case 'engine.smg_present' : update_quiet = false; break; - case 'vehicle.speed.pulses' : update_quiet = true; break; + case 'vehicle.speed.pulses' : update_quiet = true; break; } // Selectively transform data value depending on data.topic @@ -164,7 +164,7 @@ function parse_canbus_kcd(data) { case 'engine.torque.loss' : case 'engine.torque.output' : data.msg = num.round2(data.msg, 1); break; - case 'vehicle.speed.pulses' : data.msg = num.round2((data.msg / 16), 3); break; + case 'vehicle.speed.pulses' : data.msg = num.round2((data.msg / 16), 3); break; } // console.dir({ topic : data.topic, value : data.msg, update_quiet }); diff --git a/share b/share index 34e53f0b7..8c5977eed 160000 --- a/share +++ b/share @@ -1 +1 @@ -Subproject commit 34e53f0b7241b0f010b05807b2dedb09de8e08b2 +Subproject commit 8c5977eed7207e97982ed15824c6431da25d97d6