Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Autocomplete should respect lint rules. #1611

Closed
rostislav-simonik opened this issue Sep 7, 2018 · 1 comment
Closed

Autocomplete should respect lint rules. #1611

rostislav-simonik opened this issue Sep 7, 2018 · 1 comment

Comments

@rostislav-simonik
Copy link

I'm not sure whether it is related to nuclide. Point me to right direction in case I'm wrong.

Currently autocomplete feature doesn't follow eslint rules. E.g. I have rule that all brackets must include space before and after.

i.e.
import { something } from 'package';

but autocomplete fills:
import {something} from 'package';

Thanks.

@wanderley
Copy link

Unfortunately, nuclide-js-imports doesn't know about eslint formating rules, what generates this issue. It is not in your plans to include this type of option, but I think you can accomplish it with prettier and auto-formatting your file when saving it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants