facebook / fbjs

A collection of utility libraries used by other Meta JS projects.
MIT License
1.95k stars 313 forks source link

JetBrains - Code Style import #251

Closed sm2017 closed 7 years ago

sm2017 commented 7 years ago

How can I import fbjs code style to WebStorm ? I use Code -> Reformat Code frequency and currently it is not compatible with fbjs

zpao commented 7 years ago

Are you working on something in fbjs? I don't use WebStorm nor that feature so I'm not sure I can help here.

sm2017 commented 7 years ago

@zpao I want to build a project with react native , and want to match with facebook code style

Is Atom IDE (with Nuclide) has Reformat Code and format my code using .eslintrc file ?

sm2017 commented 7 years ago

@zpao Can you help me?

zpao commented 7 years ago

You can use the published eslint config if JetBrains supports that. Nuclide's reformat code uses prettier, so you can just use that.

Otherwise, I don't think there's anything else I can do to help you.