Skip to content

Overhaul and modernise lint and format processes#261

Open
Brad Turner (Brad-Turner) wants to merge 2 commits intocontentful:masterfrom
Brad-Turner:chore-lint
Open

Overhaul and modernise lint and format processes#261
Brad Turner (Brad-Turner) wants to merge 2 commits intocontentful:masterfrom
Brad-Turner:chore-lint

Conversation

@Brad-Turner
Copy link
Copy Markdown
Contributor

@Brad-Turner Brad Turner (Brad-Turner) commented Nov 11, 2023

  • Add prettier, husky and lint-staged
  • Modify eslint config
  • Remove pretest and precommit package.json scripts, replacing these with husky and lint-staged pre-commit git hooks.
  • Rename .eslintrc to .eslintrc.json to future proof ESM compatibility.
  • Run npm audit fix to address 2 moderate and 2 critical vulnerabilities.

@Brad-Turner Brad Turner (Brad-Turner) marked this pull request as ready for review November 11, 2023 23:56
@Brad-Turner Brad Turner (Brad-Turner) requested a review from a team as a code owner November 11, 2023 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant