Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding remark lint for space above headers #2944

Merged
merged 1 commit into from
Oct 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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