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
Copy file name to clipboardExpand all lines: README.md
+5-10
Original file line number
Diff line number
Diff line change
@@ -973,8 +973,7 @@ We use hyphen-delimited for:
973
973
974
974
### Namespace
975
975
976
-
Mostly everything in our CSS is namespaced so that our CSS is as transparent
977
-
and self-documenting as possible.
976
+
Mostly everything in our CSS is namespaced so that our CSS is as transparent and self-documenting as possible.
978
977
979
978
#### What We Namespace
980
979
@@ -1037,8 +1036,7 @@ And the rest:
1037
1036
1038
1037
Rather than rehashing everything about JS hooks let's instead defer to the [JavaScript Hooks](http://cssguidelin.es/#javascript-hooks) section in [Harry Roberts](http://csswizardry.com/) excellent [CSS Guidelines](http://cssguidelin.es/).
1039
1038
1040
-
JS hooks—and [Server-side](#server-side-hooks), [QA](#qa-hooks), and [Tracking hooks](#tracking-hooks)—should always be scoped to the component it is part
1041
-
off to avoid clashing with other hooks of the same category, and to keep them highly readable—not much different to how we structure our classes for styling.
1039
+
JS hooks—and [Server-side](#server-side-hooks), [QA](#qa-hooks), and [Tracking hooks](#tracking-hooks)—should always be scoped to the component it is part off to avoid clashing with other hooks of the same category, and to keep them highly readable—not much different to how we structure our classes for styling.
1042
1040
1043
1041
###### :heavy_multiplication_x: NOT GOOD
1044
1042
@@ -1317,13 +1315,11 @@ Making it easier to apply our guidelines and to prevent wasting time picking apa
1317
1315
1318
1316
We recommend using the excellent [stylelint](http://stylelint.io/) CSS linter.
1319
1317
1320
-
You'll be able to create a configuration file that enforces pretty much all
1321
-
of these guidelines. Stand by for such a file.
1318
+
You'll be able to create a configuration file that enforces pretty much all of these guidelines. Stand by for such a file.
1322
1319
1323
1320
### EditorConfig
1324
1321
1325
-
We use an [EditorConfig](http://editorconfig.org) file which enforces our
1326
-
indenting rules.
1322
+
We use an [EditorConfig](http://editorconfig.org) file which enforces our indenting rules.
1327
1323
1328
1324
The contents of the `.editorconfig` file should look something like this:
1329
1325
@@ -1341,8 +1337,7 @@ insert_final_newline = true
1341
1337
1342
1338
### Text Editor Configuration
1343
1339
1344
-
You should configure your text editor to adhere to as much of these guidelines
1345
-
as possible.
1340
+
You should configure your text editor to adhere to as much of these guidelines as possible.
1346
1341
1347
1342
At the bare minimum configure your editor to *show invisibles* or to automatically remove end-of-line whitespace.
0 commit comments