Comments (12)
Solved with commit 7fb2c51e769c92b66e328598641db264870b14c9.
from livetl.
@r2dev2bb8 I would like to have this re-opened. I do not think that the original issue was addressed as I would also like to make potential code changes but do not have a standard to write code to.
For example, a commonly used standard is:
https://standardjs.com/rules.html
This allows for anyone to write code that looks the same across all IDEs and not massively change the code style per contributor. Sometimes the actual module is included as a dev-dependancy, though it is not necessary in all projects as long as a specific code style guide is provided.
from livetl.
I also really don't want to auto-format all the code to some random style that I use and mess up the entire visual of the repo
from livetl.
The standard you provided seems pretty good, although our code is not currently formatted exactly to that. @KentoNishi, are you fine with the standard given by @Bob620? Also, can our repo be autoformatted to fit that style?
from livetl.
Sure yeah, my formatter in vscode is only configured to do tabbing and stuff so I can just change it to two spaces. Idk if this is because I write in other languages but I always use four spaces rather than two. Obviously I realize for JS two is more appropriate. Go ahead!
from livetl.
I usually use tabs so that you can set the actual depth to whatever the user wants, its all down to preference with styles, just want to have a consistent style.
from livetl.
@Bob620 could you submit a PR with the proposed formatting style?
from livetl.
There's an extention for vscode that automatically formats to those standards: https://marketplace.visualstudio.com/items?itemName=chenxsan.vscode-standardjs
from livetl.
So @Bob620, can you change CONTRIBUTING.md
to say to use this but with semicolons.
from livetl.
Now that's epic, gonna install later. Anyone else can go ahead with the formatting changes, I need to go eat dinner XD
from livetl.
there's a version of the standards that essentially does what you said but in an actual standard
https://github.com/standard/semistandard
the vscode formatted also supports that
from livetl.
Are there any more concerns about this issue?
from livetl.
Related Issues (20)
- [Bug]: Compatibility With HyperChat Also Installed HOT 1
- [Feature]: Display Translations the Same as Regular Chat Messages HOT 1
- [Bug]: switch placement in embed mode HOT 2
- [Feature]: Open streams without chat button
- [Bug]: Parent page scrolls to filtered message on Firefox HOT 1
- [Bug]: Message menu doesn't close when outside click
- [Feature]: Filter chat messages directly HOT 5
- [Bug]: Local formatting no work HOT 1
- [Feature]: Keep or Re-Open Existing LiveTL Tabs On Update Push HOT 1
- [Feature]: Cache Captured Translations HOT 1
- [Feature]: Less iframe nesting for embed mode in YT HOT 1
- [Bug]: Subscriber-only chat does not work in embed mode HOT 1
- [Feature]: TLDex Twitch support HOT 2
- [Bug]: Self-compilation does not work HOT 2
- [Bug]: LiveTL does not get twitch translations in chrome HOT 1
- [Feature]: Compatibility with 7TV HOT 3
- [Bug]: TLDex does not work for archives
- [Bug]: Cannot use BetterTTV when HyperChat disabled HOT 4
- [Bug] YT De-loads chat with embed tls while fullscreening
- [BUG] popout stops receiving translations after opening embed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livetl.