From 41c99494001b29cdac56d9f184c8e22bcf223d70 Mon Sep 17 00:00:00 2001 From: Roman Date: Sat, 27 Jan 2018 15:08:35 -0500 Subject: [PATCH] Fixed camelCase / PascalCase typo. (#107) * Fixed camelCase / PascalCase typo. * Remove React-specific naming convetions. --- README.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/README.md b/README.md index b79bb02..f4ddd89 100644 --- a/README.md +++ b/README.md @@ -384,15 +384,6 @@ Having a good guideline for creating commits and sticking to it makes working wi _Why:_ >Name it what you like, `dist` is also cool. But make sure that keep it consistent with your team. What gets in there is most likely generated (bundled, compiled, transpiled) or moved there. What you can generate, your teammates should be able to generate too, so there is no point committing them into your remote repository. Unless you specifically want to. -* Use `PascalCase' 'camelCase` for filenames and directory names. Use `PascalCase` only for Components. - -* `CheckBox/index.js` should have the `CheckBox` component, as could `CheckBox.js`, but **not** `CheckBox/CheckBox.js` or `checkbox/CheckBox.js` which are redundant. - -* Ideally the directory name should match the name of the default export of `index.js`. - - _Why:_ - > Then you can expect what component or module you will receive by simply just importing its parent folder. - ## 7. Code style