MozillaIndia / mozillaindia.github.io

Source code of mozillaindia.org
Mozilla Public License 2.0
21 stars 106 forks source link

Clean indentation setup styleguide 173 #176

Closed In4No closed 4 years ago

In4No commented 4 years ago

Fixes #[173]

Changes: Cleaned up indentation and added eslint

Screenshots for the change: No screenshots as this does not affect UI

Before:

After:

asdofindia commented 4 years ago

I'm sorry I merged some other PRs making this conflict. Could you rebase and do this again, please?

Amorpheuz commented 4 years ago

I wouldn't disable all these rules, in my opinion, we should be fixing them instead of disabling them outright without a specific reason. In unique cases, we can disable them on a line by line or block by block. I feel these should be enabled:

Will have to checkup a bit more on:

Looks like an accessibility requirement which would be nice to have

Would love to see comments from maintainers regarding the same! Can find more info on the same at:

In4No commented 4 years ago

I wouldn't disable all these rules, in my opinion, we should be fixing them instead of disabling them outright without a specific reason. In unique cases, we can disable them on a line by line or block by block. I feel these should be enabled:

I disabled the rules so that, we can have separate PRs enabling one rule at a time. Did not intend to keep them permanently disabled.

asdofindia commented 4 years ago

Closing this as this has become stale now. Thanks for the work. Would you like to create a fresh PR?