Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fomater 不生效 #78

Closed
LiDengHui opened this issue Aug 18, 2023 · 2 comments
Closed

fomater 不生效 #78

LiDengHui opened this issue Aug 18, 2023 · 2 comments

Comments

@LiDengHui
Copy link

{
  swaggerConfig: {
    formater: 'npx prettier {path}/**/**.ts --write --log-level error --with-node-modules'
  },
}

不能 生效 没有格式化代码

@LiDengHui
Copy link
Author

image

在执行的时候 prettier ignore-path 有 .gitignore , 正好里面有个 node_modules

@gogoyqj
Copy link
Owner

gogoyqj commented Aug 19, 2023

image 在执行的时候 prettier ignore-path 有 .gitignore , 正好里面有个 node_modules
formater:
            'prettier {path}/**/**.ts --write --log-level error --with-node-modules --ignore-path .prettierignore',

@gogoyqj gogoyqj closed this as completed Aug 19, 2023
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

No branches or pull requests

2 participants