With-the-Ranks / Spoke

With the Rank's fork of Politics Rewired's fork of Spoke
GNU General Public License v3.0
0 stars 1 forks source link

chore: lint for arrow functions #26

Open ajohn25 opened 6 months ago

ajohn25 commented 6 months ago

Description

This PR adds this ESLint rule to lint and autofix function declarations/expressions https://github.com/JamieMason/eslint-plugin-prefer-arrow-functions

Manual changes to fit edge cases for the new linting rule are contained in 125a630cb8354132a4cadc2152666993335321e4

Changes in 2b2451d9a097bd6df0818975cb5868df0184e993 were automatically done by ESLint

Motivation and Context

Enforce unwritten conventions

How Has This Been Tested?

N/A

Screenshots (if appropriate):

Documentation Changes

Checklist: