Code style: Fix ESLint "func-style" errors

Part of #407.
redux
David Majda 8 years ago
parent 88f115146d
commit 6c3565fc96

@ -120,9 +120,9 @@ describe("plugin API", function() {
it("can change compiler passes", function() { it("can change compiler passes", function() {
let plugin = { let plugin = {
use(config) { use(config) {
let pass = ast => { function pass(ast) {
ast.code = "({ parse: function() { return 42; } })"; ast.code = "({ parse: function() { return 42; } })";
}; }
config.passes.generate = [pass]; config.passes.generate = [pass];
} }

Loading…
Cancel
Save