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:
[ ] My change requires a change to the documentation.
[ ] I have included updates for the documentation accordingly.
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, thelint-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/CDHow Has This Been Tested?
N/A
Screenshots (if appropriate):
Documentation Changes
Checklist: