contentful-batch-libs icon indicating copy to clipboard operation
contentful-batch-libs copied to clipboard

Overhaul and modernise lint and format processes

Open Brad-Turner opened this issue 2 years ago • 0 comments

  • 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 avatar Nov 11 '23 23:11 Brad-Turner