You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer-guide/syntaxes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Writing custom syntaxes
2
2
3
-
Custom syntaxes are [PostCSS syntaxes](https://github.com/postcss/postcss#syntaxes) written by the community to support other styling languages and CSS-in-JS libraries using the [`customSyntax` option](../user-guide/usage/options.md#customSyntax).
3
+
Custom syntaxes are [PostCSS syntaxes](https://github.com/postcss/postcss#syntaxes) written by the community to support other styling languages and CSS-in-JS libraries using the [`customSyntax` option](../user-guide/usage/options.md#customsyntax).
4
4
5
5
To write one, familiarize yourself with PostCSS's [how to write custom syntax](https://github.com/postcss/postcss/blob/main/docs/syntax.md) guide.
Copy file name to clipboardExpand all lines: docs/migration-guide/to-14.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ There are other shared configs provided for each language:
47
47
-[stylelint-config-recommended-vue](https://www.npmjs.com/package/stylelint-config-recommended-vue) ... Shared config for Vue.
48
48
-[stylelint-config-html](https://www.npmjs.com/package/stylelint-config-html) ... Shared config that enables parsing for HTML, XML, Vue, Svelte, and PHP.
49
49
50
-
If a shared config isn't available for your preferred language or library, then you can install the appropriate [PostCSS syntax](https://github.com/postcss/postcss#syntaxes) yourself and use the [`customSyntax` option](../user-guide/usage/options.md#customSyntax), which is now available in the configuration object.
50
+
If a shared config isn't available for your preferred language or library, then you can install the appropriate [PostCSS syntax](https://github.com/postcss/postcss#syntaxes) yourself and use the [`customSyntax` option](../user-guide/usage/options.md#customsyntax), which is now available in the configuration object.
51
51
52
52
For example, to lint [SugarSS](https://github.com/postcss/sugarss).
53
53
@@ -138,7 +138,7 @@ The `function-calc-no-invalid` has been removed. You should remove it from your
138
138
There are three changes that may affect you:
139
139
140
140
- version 8 of PostCSS is now used in stylelint
141
-
- a [`disableFix` secondary option](../user-guide/configure.md#disableFix) was added
141
+
- a [`disableFix` secondary option](../user-guide/configure.md#disablefix) was added
142
142
- TypeScript type definitions were added to the package
Copy file name to clipboardExpand all lines: docs/user-guide/errors.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ In addition to rule problems, Stylelint surfaces the following errors and warnin
4
4
5
5
## CSS syntax error
6
6
7
-
The chosen [PostCSS syntax](usage/options.md#customSyntax) was unable to parse the source.
7
+
The chosen [PostCSS syntax](usage/options.md#customsyntax) was unable to parse the source.
8
8
9
9
## Parse error
10
10
11
-
The chosen [PostCSS syntax](usage/options.md#customSyntax) successfully parsed, but one of the construct-specific parsers failed to parse either a media query, selector or value within that source.
11
+
The chosen [PostCSS syntax](usage/options.md#customsyntax) successfully parsed, but one of the construct-specific parsers failed to parse either a media query, selector or value within that source.
Copy file name to clipboardExpand all lines: docs/user-guide/usage/cli.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ The CLI accepts:
14
14
15
15
### `--allow-empty-input, --aei`
16
16
17
-
The process exits without throwing an error when glob pattern matches no files. [More info](options.md#allowEmptyInput).
17
+
The process exits without throwing an error when glob pattern matches no files. [More info](options.md#allowemptyinput).
18
18
19
19
### `--cache-location`
20
20
21
-
Path to a file or directory for the cache location. [More info](options.md#cacheLocation).
21
+
Path to a file or directory for the cache location. [More info](options.md#cachelocation).
22
22
23
23
### `--cache`
24
24
@@ -30,19 +30,19 @@ Force enabling/disabling of color.
30
30
31
31
### `--config-basedir`
32
32
33
-
Absolute path to the directory that relative paths defining "extends" and "plugins" are _relative to_. Only necessary if these values are relative paths. [More info](options.md#configBasedir).
33
+
Absolute path to the directory that relative paths defining "extends" and "plugins" are _relative to_. Only necessary if these values are relative paths. [More info](options.md#configbasedir).
34
34
35
35
### `--config`
36
36
37
-
Path to a JSON, YAML, or JS file that contains your [configuration object](../configure.md). [More info](options.md#configFile).
37
+
Path to a JSON, YAML, or JS file that contains your [configuration object](../configure.md). [More info](options.md#configfile).
38
38
39
39
### `--custom-syntax`
40
40
41
-
Specify a custom syntax to use on your code. [More info](options.md#customSyntax).
41
+
Specify a custom syntax to use on your code. [More info](options.md#customsyntax).
42
42
43
43
### `--disable-default-ignores, --di`
44
44
45
-
Disable the default ignores. Stylelint will not automatically ignore the contents of `node_modules`. [More info](options.md#disableDefaultIgnores).
45
+
Disable the default ignores. Stylelint will not automatically ignore the contents of `node_modules`. [More info](options.md#disabledefaultignores).
46
46
47
47
### `--fix`
48
48
@@ -54,19 +54,19 @@ Specify the formatter to format your results. [More info](options.md#formatter).
Path to a file containing patterns that describe files to ignore. The path can be absolute or relative to `process.cwd()`. You can repeat the option to provide multiple paths. By default, Stylelint looks for `.stylelintignore` in `process.cwd()`. [More info](options.md#ignorePath).
61
+
Path to a file containing patterns that describe files to ignore. The path can be absolute or relative to `process.cwd()`. You can repeat the option to provide multiple paths. By default, Stylelint looks for `.stylelintignore` in `process.cwd()`. [More info](options.md#ignorepath).
62
62
63
63
### `--ignore-pattern, --ip`
64
64
65
65
Pattern of files to ignore (in addition to those in `.stylelintignore`).
66
66
67
67
### `--max-warnings, --mw`
68
68
69
-
Set a limit to the number of warnings accepted. [More info](options.md#maxWarnings).
69
+
Set a limit to the number of warnings accepted. [More info](options.md#maxwarnings).
70
70
71
71
### `--output-file, -o`
72
72
@@ -82,19 +82,19 @@ Only register problems for rules with an "error"-level severity (ignore "warning
82
82
83
83
### `--report-descriptionless-disables, --rdd`
84
84
85
-
Produce a report of the `stylelint-disable` comments without a description. [More info](options.md#reportDescriptionlessDisables).
85
+
Produce a report of the `stylelint-disable` comments without a description. [More info](options.md#reportdescriptionlessdisables).
86
86
87
87
### `--report-invalid-scope-disables, --risd`
88
88
89
-
Produce a report of the `stylelint-disable` comments that used for rules that don't exist within the configuration object. [More info](options.md#reportInvalidScopeDisables).
89
+
Produce a report of the `stylelint-disable` comments that used for rules that don't exist within the configuration object. [More info](options.md#reportinvalidscopedisables).
90
90
91
91
### `--report-needless-disables, --rd`
92
92
93
-
Produce a report to clean up your codebase, keeping only the `stylelint-disable` comments that serve a purpose. [More info](options.md#reportNeedlessDisables).
93
+
Produce a report to clean up your codebase, keeping only the `stylelint-disable` comments that serve a purpose. [More info](options.md#reportneedlessdisables).
94
94
95
95
### `--stdin-filename`
96
96
97
-
A filename to assign the input. [More info](options.md#codeFilename).
97
+
A filename to assign the input. [More info](options.md#codefilename).
0 commit comments