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

Use standard as the formatter #27

Open
sadasant opened this issue May 31, 2017 · 0 comments
Open

Use standard as the formatter #27

sadasant opened this issue May 31, 2017 · 0 comments

Comments

@sadasant
Copy link
Contributor

sadasant commented May 31, 2017

Standard provides an API which might allow us to format all the output code with standard by default (we'll make sure we provide an optional parameter with the formatting function, so users can use their own). However, standard uses the file system API in their lintText and lintTextSync functions, which makes our unit tests fail, since we need to mock the fs API.

I opened an issue in the standard repo asking if we could optionally disallow lintText and lintTextSync to interact with the file system api: standard/standard#904

Let's see what happens!

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

1 participant