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

Print pretty #2

Open
morlay opened this issue Nov 21, 2016 · 1 comment
Open

Print pretty #2

morlay opened this issue Nov 21, 2016 · 1 comment

Comments

@morlay
Copy link
Contributor

morlay commented Nov 21, 2016

Waiting new version babel-generator release with. babel/babel#4856

@morlay
Copy link
Contributor Author

morlay commented Nov 22, 2016

Use eslint to pretty and make it have same style which in target project

import { CLIEngine } from 'eslint'

 const cli = new CLIEngine({
    useEslintrc: true,
    fix: true,
  });

  CLIEngine.outputFixes(
    cli.executeOnFiles([]),
  );

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