Closed qieqie7 closed 2 years ago
prettier-eslint-cli
prettier
eslint
Relevant code/config.
const a = 'longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong';
What you did: package.json
{ "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*.{js,jsx,ts,tsx}": [ "prettier-eslint --write" ] } |
What happened: start,
then I will git commit this change
Reproduction:
-- paste your link here --
Problem description:
But the error is not resolved
Suggested solution:
I hope this change can't commit. And throw this error.
https://antfu.me/posts/why-reproductions-are-required
Feel free to create a new issue with minimal but runnable reproduction.
prettier-eslint-cli
version: 5.0.1prettier
version: 2.3.0eslint
version: 7.26.0Relevant code/config.
What you did: package.json
What happened: start,
then I will git commit this change
Reproduction:
-- paste your link here --
Problem description:
But the error is not resolved
Suggested solution:
I hope this change can't commit. And throw this error.