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

Require config set to true and no config present. Skipping file. #1257

Closed
nicklbirmingham opened this issue Feb 27, 2020 · 6 comments
Closed
Labels
locked Please open a new issue and fill out the template instead of commenting.

Comments

@nicklbirmingham
Copy link

nicklbirmingham commented Feb 27, 2020

Prettier is not working as expected.
made sure that format on save is on and went into settings.json to make sure it was the default editor but it still isn't working
I have included my settings.json file code as well as the message I am getting output portion after trying to save. Please Advise :-)

these are the settings I have in settings.json
{
"prettier.requireConfig": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.fontSize": 16,
"editor.tabSize": 2,
"prettier.useEditorConfig": false,
"prettier.printWidth": 80,
"workbench.iconTheme": "material-icon-theme",
"editor.formatOnSave": true
}

but I am still getting the message that i put in the title and it doesn't work nothings changes when I save my files. thanks for your help in advance

VS Code Version: 1.42.1

Prettier Extension Version: 3.20.0

OS and version: Mac version 10.15.1

@DarknessInMe
Copy link

Go to extension settings and find this one. Uncheck the box. Should help
prettier

@ntotten
Copy link
Member

ntotten commented Mar 4, 2020

Do you have a .prettierrc (or other prettier config) file in the root of your project?

@ntotten ntotten changed the title ["INFO" - 2:47:29 PM] Require config set to true and no config present. Skipping file. Require config set to true and no config present. Skipping file. Mar 4, 2020
@nicklbirmingham
Copy link
Author

nicklbirmingham commented Mar 4, 2020 via email

@ntotten
Copy link
Member

ntotten commented Apr 3, 2020

Please ask support requests on stackoverflow or see the docs for more info.

@ntotten ntotten closed this as completed Apr 3, 2020
@Jenny-code
Copy link

Go to extension settings and find this one. Uncheck the box. Should help
prettier

Finally I got it working! Thanks a bunch!

@naveen-repos
Copy link

Go to extension settings and find this one. Uncheck the box. Should help
prettier

It working but the prettier not formating the line indentations in the file.

@prettier prettier locked as off-topic and limited conversation to collaborators Aug 26, 2020
@ntotten ntotten added the locked Please open a new issue and fill out the template instead of commenting. label Aug 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

No branches or pull requests

5 participants