Skip to content

Commit 6d37a94

Browse files
authored
Update README.md
1 parent af8e8b2 commit 6d37a94

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ Finally, properties are what give the selected elements of a rule declaration th
6969

7070
### Formatting
7171

72-
* Use soft tabs (2 spaces) for indentation.
72+
* Use soft tabs (2 spaces) for indentation.
73+
- **unless editing existing file, follow file's convention**
7374
* Prefer dashes over camelCasing in class names.
7475
- Underscores and PascalCasing are okay if you are using BEM (see [OOCSS and BEM](#oocss-and-bem) below).
7576
* Do not use ID selectors.
@@ -135,7 +136,7 @@ We encourage some combination of OOCSS and BEM for these reasons:
135136
* CSS Trick's [BEM 101](https://css-tricks.com/bem-101/)
136137
* Harry Roberts' [introduction to BEM](http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/)
137138

138-
We recommend a variant of BEM with PascalCased “blocks”, which works particularly well when combined with components (e.g. React). Underscores and dashes are still used for modifiers and children.
139+
~~We recommend a variant of BEM with PascalCased “blocks”, which works particularly well when combined with components (e.g. React). Underscores and dashes are still used for modifiers and children.~~
139140

140141
**Example**
141142

0 commit comments

Comments
 (0)