-
Notifications
You must be signed in to change notification settings - Fork 96
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
feat(ui): Settings > Indent size #240
Conversation
✅ Deploy Preview for chimerical-kitsune-a0bfa0 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Let's change the indent size to a select instead of input type number. Provide two options 2 and 4. Let 4 be shown by default if nothing can be retrieved from local storage. We'll add more options if people request it. Also I saw this: Let the parseInt happen before it reaches the helper method. Add type number to the function param in typescript. Also remove the replacer from parameters of the helper function as it's never used anywhere. It was passed only because it was necessary for json.stringify. |
That indent looks weird. I don't know what's wrong with eslint. Let's do one thing, create a new type EditorConfig in packages/ui/src/global.d.ts and use it here. Also you missed this type I mentioned above: |
resolves #31