diff options
Diffstat (limited to 'assets/node_modules/stylelint/lib/rules/function-comma-newline-after/README.md')
-rw-r--r-- | assets/node_modules/stylelint/lib/rules/function-comma-newline-after/README.md | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/assets/node_modules/stylelint/lib/rules/function-comma-newline-after/README.md b/assets/node_modules/stylelint/lib/rules/function-comma-newline-after/README.md deleted file mode 100644 index 4430ede..0000000 --- a/assets/node_modules/stylelint/lib/rules/function-comma-newline-after/README.md +++ /dev/null @@ -1,100 +0,0 @@ -# function-comma-newline-after - -Require a newline or disallow whitespace after the commas of functions. - -```css -a { transform: translate(1, - 1) } /* ↑ */ -/** ↑ - * These commas */ -``` - -The `--fix` option on the [command line](../../../docs/user-guide/cli.md#autofixing-errors) can automatically fix all of the problems reported by this rule. - -## Options - -`string`: `"always"|"always-multi-line"|"never-multi-line"` - -### `"always"` - -There *must always* be a newline after the commas. - -The following patterns are considered violations: - -```css -a { transform: translate(1,1) } -``` - -```css -a { transform: translate(1 ,1) } -``` - -```css -a { transform: translate(1 - ,1) } -``` - -The following patterns are *not* considered violations: - -```css -a { - transform: translate(1, - 1) -} -``` - -### `"always-multi-line"` - -There *must always* be a newline after the commas in multi-line functions. - -The following patterns are considered violations: - -```css -a { transform: translate(1 - ,1) } -``` - -The following patterns are *not* considered violations: - -```css -a { transform: translate(1,1) } -``` - -```css -a { transform: translate(1 ,1) } -``` - -```css -a { - transform: translate(1, - 1) -} -``` - -### `"never-multi-line"` - -There *must never* be whitespace after the commas in multi-line functions. - -The following patterns are considered violations: - -```css -a { transform: translate(1 - , 1) } -``` - -The following patterns are *not* considered violations: - -```css -a { transform: translate(1, 1) } -``` - -```css -a { transform: translate(1 , 1) } -``` - -```css -a { - transform: translate(1 - ,1) -} -``` |