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 json files #53

Closed ajohn25 closed 1 month ago

ajohn25 commented 1 month ago

Description

This enables linting for json files

Motivation and Context

PRs that edit json files (ex. #50 #52 ) are currently failing to pass linting. In CI/CD we're using $ prettier --check './**/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc.js to check that prettier formatting has been applied. However, the lint-staged config here doesn't currently fix json files. Enabling ESLint for json files should ensure we're enforcing consistent formatting pre commit and in CI/CD

How Has This Been Tested?

N/A

Screenshots (if appropriate):

Documentation Changes

Checklist: