Skip to content

Commit

Permalink
Add remark lint for space above headers (#2944)
Browse files Browse the repository at this point in the history
  • Loading branch information
sendilkumarn authored and jeddy3 committed Oct 5, 2017
1 parent eaf0afc commit 4156b8b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/developer-guide/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Validates the options for your rule.
Checks CSS against a standard stylelint rule *within your own rule*. This function provides power and flexibility for plugins authors who wish to modify, constrain, or extend the functionality of existing stylelint rules.

Accepts an options object and a callback that is invoked with warnings from the specified rule. The options are:

- `ruleName`: The name of the rule you are invoking.
- `ruleSettings`: Settings for the rule you are invoking, formatting in the same way they would be in a `.stylelintrc` configuration object.
- `root`: The root node to run this rule against.
Expand Down
1 change: 1 addition & 0 deletions docs/user-guide/node-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ You can use this option to see what your linting results would be like without t
### `disableDefaultIgnores`

If `true`, stylelint will not automatically ignore the contents of `node_modules` and `bower_components`. (By default, these directories are automatically ignored.)

### `cache`

Store the info about processed files in order to only operate on the changed ones the next time you run stylelint. Enabling this option can dramatically improve stylelint's speed, because only changed files will be linted.
Expand Down
1 change: 1 addition & 0 deletions lib/rules/property-no-unknown/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ a {
custom: 10px;
}
```

### `checkPrefixed: true | false` (default: `false`)

If `true`, this rule will check vendor-prefixed properties.
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"postcss-import": "^11.0.0",
"prettier": "^1.6.1",
"remark-cli": "^4.0.0",
"remark-lint-no-missing-blank-lines": "^1.0.1",
"remark-preset-lint-consistent": "^2.0.0",
"remark-preset-lint-recommended": "^3.0.0",
"remark-validate-links": "^7.0.0",
Expand Down Expand Up @@ -171,6 +172,7 @@
"plugins": [
"preset-lint-recommended",
"preset-lint-consistent",
["lint-no-missing-blank-lines", { "exceptTightLists": true }],
[
"validate-links",
{
Expand Down

0 comments on commit 4156b8b

Please sign in to comment.