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

Option to not format JSON files #9

Open
Lexicality opened this issue Mar 1, 2014 · 6 comments
Open

Option to not format JSON files #9

Lexicality opened this issue Mar 1, 2014 · 6 comments

Comments

@Lexicality
Copy link
Collaborator

I don't like that this plugin reformats my JSON, can you add something to let me stop it doing so please.

@sudodoki
Copy link

I suggest you try to leverage option "allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"], and just not specify json or any other format you don't feel like.

@Lexicality
Copy link
Collaborator Author

@sudodoki Where is this option?

@sudodoki
Copy link

Hope to get this response in #19, given there's a note on using jsbeautify configs

@Lexicality
Copy link
Collaborator Author

This setting is not checked by the plugin. The supported filetypes is hard coded:

return ext in ['js', 'json'] or "javascript" in syntax or "json" in syntax

@enginespot
Copy link
Owner

can you submit a push , currently I am busy with other project .

@micsun-al
Copy link

+1 ... looks at date since last comment ... urgh.

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

4 participants