Skip to content

Move function declarations to arrow functions #234

@ghost

Description

No longer fails with jest 20 on ci. Arrow functions are a bit more terse, and it'll make the codebase more uniform (as we already use arrow functions for other stuff).

Enforce with eslint rules:

"func-style": ["error", "expression"],
"prefer-arrow-callback": "error",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions