Open JithinKS97 opened 5 years ago
I think this would also help https://guide.meteor.com/code-style.html
Is it required that we follow all the linting rules associated with airbnb standard as it is? Or should we reconfigure it suitably for our need? Because I tried fixing linting errors in a file and it was really difficult to keep up with all the rules. Also when it comes to large files, it will be way more difficult.
We can modify the rules as needed. I selectively disabled several throughout the first batch when I got the impression real refactoring was needed; we should revisit those instances sooner than later.
I'm in favor of paying the cost now and staying on top of style moving forward. Are you using an ESLint plugin in your text editor or the CLI? The Atom packages make linting relatively painless.
I use Visual studio code with ESLint plugin
I've finished linting of all the components in the Components folder. I have added propTypes in the components which I think will make the components more structured and organized. Also I have added certain rule exceptions in eslintrc.json.
To make the code base more structured using linting tools like eslint, prettier by following popular style guides like Airbnb or Google?