@kitschpatrol/remark-config 4.7.0 → 4.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/init/.remarkrc.js +4 -1
- package/package.json +1 -1
- package/readme.md +6 -6
package/init/.remarkrc.js
CHANGED
|
@@ -3,7 +3,10 @@ import sharedConfig, { overrideRules } from '@kitschpatrol/remark-config'
|
|
|
3
3
|
const localConfig = {
|
|
4
4
|
...sharedConfig,
|
|
5
5
|
// Overrides are a special case, working as below (set `false` as the second element to disable):
|
|
6
|
-
// plugins: overrideRules(sharedConfig.plugins, [
|
|
6
|
+
// plugins: overrideRules(sharedConfig.plugins, [
|
|
7
|
+
// ['remark-lint-first-heading-level', 2],
|
|
8
|
+
// ['remarkValidateLinks', { repository: false }],
|
|
9
|
+
// ]),
|
|
7
10
|
}
|
|
8
11
|
|
|
9
12
|
export default localConfig
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -75,12 +75,12 @@ Usage:
|
|
|
75
75
|
remark-config [<file|glob> ...]
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
| Option
|
|
79
|
-
|
|
|
80
|
-
| `--init` |
|
|
81
|
-
| `--print-config` |
|
|
82
|
-
| `--help` |
|
|
83
|
-
| `--version` |
|
|
78
|
+
| Option | Argument | Description |
|
|
79
|
+
| ------------------------ | -------- | ---------------------------------------------------------------- |
|
|
80
|
+
| `--init`<br>`-i` | | Initialize by copying starter config files to your project root. |
|
|
81
|
+
| `--print-config`<br>`-p` | `<path>` | Print the effective configuration at a certain path. |
|
|
82
|
+
| `--help`<br>`-h` | | Print this help info. |
|
|
83
|
+
| `--version`<br>`-v` | | Print the package version. |
|
|
84
84
|
|
|
85
85
|
<!-- /cli-help -->
|
|
86
86
|
|