mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 23:24:52 +09:00
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:
1 parent
3e4f0b6b5e
commit
8cb21c5fa8
16 files changed
+69
-69
No files matched your search
@@ -14,7 +14,7 @@ const technologies = {
|
||||
{ type: "integer" },
|
||||
{ type: ["null", "number"] },
|
||||
{ type: "boolean" },
|
||||
]
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -184,5 +184,5 @@ async function saveTechnologies(masterConfig, technologies) {
|
||||
|
||||
|
||||
module.exports = {
|
||||
MasterPlugin
|
||||
MasterPlugin,
|
||||
};
|
||||
@@ -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 },
|
||||
}
|
||||
},
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
Reference in new issue
Block a user