In the "Linting tools:" prompt choose "Prettier" and "Lint staged files", the rest doesn't matter.
After installation update "index.vue" file and commit
What is Expected?
Changed files should be linted
What is actually happening?
Files are not linted.
It looks like husky, lint-staged and prettier are installed fine and the package.json file gets modified accordingly but the pre-commit hook doesn't trigger.
Versions
Reproduction
See below.
Steps to reproduce
npx create-nuxt-app nuxt2
What is Expected?
Changed files should be linted
What is actually happening?
Files are not linted.
It looks like husky, lint-staged and prettier are installed fine and the
package.json
file gets modified accordingly but the pre-commit hook doesn't trigger.