You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: public/docs/ts/latest/guide/style-guide.jade
+4-8
Original file line number
Diff line number
Diff line change
@@ -836,7 +836,7 @@ a(href="#toc") Back to top
836
836
837
837
.s-why.s-why-last
838
838
:marked
839
-
**Why?** We find this to be super important for a project. If we cannot find the files we need to work on quickly, we will not be able to work as efficiently as possible, and the structure needs to change. We may not know the file name or where its related files are, so putting them in the most intuitive locations and near each other saves a ton of time. A descriptive folder structure can help with this.
839
+
**Why?** We find this to be super important for a project. If we cannot find the files we need to work on quickly, we will not be able to work as efficiently as possible, and the structure will need to change. We may not know the file name or where its related files are, so putting them in the most intuitive locations and near each other saves a ton of time. A descriptive folder structure can help with this.
840
840
841
841
a(href="#toc") Back to top
842
842
@@ -852,15 +852,15 @@ a(href="#toc") Back to top
852
852
853
853
.s-rule.do
854
854
:marked
855
-
**Do** be descriptive with file names and keeping the contents of the file to exactly one component.
855
+
**Do** be descriptive with file names and keep the contents of the file to exactly one component.
856
856
857
857
.s-rule.avoid
858
858
:marked
859
859
**Avoid** files with multiple components, multiple services, or a mixture.
860
860
861
861
.s-why.s-why-last
862
862
:marked
863
-
**Why?** We spend less time hunting and pecking for code, and become more efficient. If this means we want longer file names, then so be it.
863
+
**Why?** We spend less time hunting and peeking for code, and become more efficient. If this means we want longer file names, then so be it.
864
864
865
865
.l-sub-section
866
866
:marked
@@ -1876,7 +1876,7 @@ a(href="#toc") Back to top
1876
1876
1877
1877
.s-why.s-why-last
1878
1878
:marked
1879
-
**Why?** We avoid unintentionally not calling the hook if we misspell the method.
1879
+
**Why?** We avoid unintentionally not calling the hook if we misspelled the method.
0 commit comments