Closed maskudo closed 2 weeks ago
Name | Link |
---|---|
Latest commit | 1c669eb0b161bf1052deb87ff505558ee3cab309 |
@maskudo, Thanks for your contribution! Could you apply the suggested changes? After that, it’ll be good to go.
I have applied the suggested changes. Furthermore, I have disabled the following rules:
{
"react-refresh/only-export-components": "off",
"react/prop-types": "off"
}
I have disabled eslint for the docusaurus directory because it uses a mix of commonjs and ecmascript modules which we dont have a clean way of resolving and trying to fix it doesnt feel worth the cost. We could probably have an eslint rule for the docusaurus page only inside its package.json if we need it in the future. I'm assuming we would simply be using typescript or jsdocs if we were serious about typing our props so we probably dont need the prop-types rules. The 'only export components' rule was previously set to warn which we dont really need. We export some hooks and constants along with some components which are good logical pairing that doesnt really make sense to split just for the sake of it.
Still logs message are not changed! no worries. Now it is good to go
Once again @maskudo , Thanks for your contribution
This PR aims to standardize and improve code quality by introducing pre-commit hooks for linting and formatting.
Problem Statement:
I noticed lots of unused variables, incorrect prop names. Similarly, prettier wasn't installed properly resulting in developer's default editor settings for formatting being applied.
Dependencies Added