css-properly
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -11,4 +11,5 @@ let postcss = require('postcss') | ||
.replace('centre', 'center') | ||
.replace('capitalise', 'capitalize') | ||
}) | ||
} | ||
}) |
{ | ||
"name": "css-properly", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "PostCSS plugin for people who prefer to write English", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -7,8 +7,8 @@ # css-properly | ||
```diff | ||
```css | ||
.foo { | ||
- background-colour: white; | ||
- text-align: centre; | ||
+ background-color: white; | ||
+ text-align: center; | ||
colour: black; | ||
background-colour: lightgrey; | ||
text-align: centre; | ||
} | ||
``` | ||
@@ -20,7 +20,10 @@ | ||
|---------------|---------------|-----------| | ||
| colour | `color` | There's a `u` in `colour` | | ||
| centre | `center` | It's spelled `centre` | | ||
| padding-ton | `padding-top` | When you're thinking of your favourite bear | | ||
| z-index | `z-index` | It's the same but it's pronounced "zed", not "zee" | | ||
| `colour` | `color` | There's a *u* in "colour" | | ||
| `centre` | `center` | It's spelled "centre" | | ||
| `capitalise` | `capitalize` | Don't even get me started | | ||
| `padding-ton` | `padding-top` | When you're thinking of your favourite bear | | ||
| `z-index` | `z-index` | It's the same but it's pronounced "zed", not "zee" | | ||
Pull requests for further translations welcome! | ||
## Usage | ||
@@ -30,2 +33,8 @@ | ||
Assuming you are using npm to manage dependencies, install `css-properly` with: | ||
```sh | ||
npm install --save-dev css-properly | ||
``` | ||
Check your project for existing PostCSS config: `postcss.config.js` | ||
@@ -32,0 +41,0 @@ in the project root, `"postcss"` section in `package.json` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4685
13
80