Skip to content

Commit

Permalink
Fixed camelCase / PascalCase typo. (elsewhencode#107)
Browse files Browse the repository at this point in the history
* Fixed camelCase / PascalCase typo.

* Remove React-specific naming convetions.
  • Loading branch information
Roman authored and Vahid Panjganj committed Jan 27, 2018
1 parent 70f6716 commit 41c9949
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<a name="code-style"></a>
## 7. Code style
Expand Down

0 comments on commit 41c9949

Please sign in to comment.