Skip to content

Commit

Permalink
README Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaredWilcurt committed Jun 15, 2019
1 parent 70fbe7f commit 0b030e3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ These linting rules are designed to be **very strict**. Much thought has been pl

The order by which you sort properties matters for consistency, predictability, and compression (gzip). I have carefully analyzed the most popular approaches, found their flaws, and improved on them.

* **Improvements made:**
* Include all known CSS properties supported by, or intended to be supported by, current major browsers. Meaning **every single CSS property** from W3C and MDN.
* Only include modern (2019) vendor prefixes - Desktop: Chrome/FF/Safari/Edge/IE11, Android: Chrome/FF, iOS: Safari
* Outdated/deprecated properties - Old vendor prefixes that are not required anymore, or deprecated CSS properties no longer supported by any browser are not included in my set.
* Out-of-order - In my set vendor prefixes always occur on the line prio to their native counterparts.
* No dupes! - A duplicate property introduces confusion for the linter and the developer. I have an automated test to insure no dupes ever enter this set.
* Consensus and versioning - There is only one official version of these rules. There are no competing versions of the TJW ruleset. It is versioned on GitHub.
* **Improvements made over SMACSS/Recess/Concentric:**
* **Be comprehensive**: I've included all CSS properties supported by (or intended to be supported by) current major browsers. Meaning **every single CSS property** from W3C and MDN.
* **Include Vendor-Prefixes**: I only include modern (2019) vendor prefixes - Desktop: Chrome/FF/Safari/Edge/IE11, Android: Chrome/FF, iOS: Safari
* **Remove Outdated/deprecated properties**: Old vendor prefixes that are not required anymore, or deprecated CSS properties no longer supported by any browser are not included in my set.
* **Out-of-order errors**: In my set vendor-prefixes always occur on the line prior to their native counterparts.
* **No dupes!**: A duplicate property introduces confusion for the linter and the developer. I have an automated test to insure no dupes ever enter this set.
* **Consensus and versioning**: There is only one official version of these rules. There are no competing versions of the TJW ruleset. It is versioned on GitHub and npm.

For the purposes of linting, the more properties you have documented the better.

Expand Down

0 comments on commit 0b030e3

Please sign in to comment.