Add dangling commas

Ensure multiline object and array litterals are consistenly typed out
with dangling commas for the last element.
This commit is contained in:
Hornwitser committed 2020-06-17 20:59:37 +02:00
1 parent 3e4f0b6b5e
commit 8cb21c5fa8
16 files changed
+69 -69

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ const technologies = {
{ type: "integer" },
{ type: ["null", "number"] },
{ type: "boolean" },
]
],
},
};
+1 -1
View File
@@ -184,5 +184,5 @@ async function saveTechnologies(masterConfig, technologies) {
module.exports = {
MasterPlugin
MasterPlugin,
};
+4 -4
View File
@@ -24,16 +24,16 @@ describe("statistics_exporter plugin", function() {
force_flow_statistics: {
player: {
item_production_statistics: {
input: { "inserter": 10, },
output: { "iron-plate": 24, }
input: { "inserter": 10 },
output: { "iron-plate": 24 },
},
}
},
},
game_flow_statistics: {
pollution_statistics: {
input: { "boiler": 2000 },
output: { "tree-proxy": 560 },
}
},
},
})
);
+2 -2
View File
@@ -30,7 +30,7 @@ class neuralDole {
}
constructor({
items
items,
}){
// Set some storage variables for the dole divider
this.items = items;
@@ -127,5 +127,5 @@ function doleDivider({
module.exports = {
doleDivider,
neuralDole
neuralDole,
};