@stylelint-types/stylelint-scss 6.5.0 → 6.11.0

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.
Files changed (77) hide show
  1. package/README.md +1 -1
  2. package/lib/index.d.ts +1086 -5
  3. package/lib/index.js +0 -0
  4. package/package.json +14 -12
  5. package/lib/rules/at-each-key-value-single-line.d.ts +0 -3
  6. package/lib/rules/at-else-closing-brace-newline-after.d.ts +0 -8
  7. package/lib/rules/at-else-closing-brace-space-after.d.ts +0 -5
  8. package/lib/rules/at-else-empty-line-before.d.ts +0 -5
  9. package/lib/rules/at-else-if-parentheses-space-before.d.ts +0 -5
  10. package/lib/rules/at-extend-no-missing-placeholder.d.ts +0 -5
  11. package/lib/rules/at-function-named-arguments.d.ts +0 -12
  12. package/lib/rules/at-function-parentheses-space-before.d.ts +0 -5
  13. package/lib/rules/at-function-pattern.d.ts +0 -3
  14. package/lib/rules/at-if-closing-brace-newline-after.d.ts +0 -5
  15. package/lib/rules/at-if-closing-brace-space-after.d.ts +0 -5
  16. package/lib/rules/at-if-no-null.d.ts +0 -5
  17. package/lib/rules/at-import-no-partial-leading-underscore.d.ts +0 -3
  18. package/lib/rules/at-import-partial-extension-allowed-list.d.ts +0 -5
  19. package/lib/rules/at-import-partial-extension-blacklist.d.ts +0 -3
  20. package/lib/rules/at-import-partial-extension-disallowed-list.d.ts +0 -5
  21. package/lib/rules/at-import-partial-extension-whitelist.d.ts +0 -5
  22. package/lib/rules/at-import-partial-extension.d.ts +0 -5
  23. package/lib/rules/at-mixin-argumentless-call-parentheses.d.ts +0 -5
  24. package/lib/rules/at-mixin-named-arguments.d.ts +0 -5
  25. package/lib/rules/at-mixin-no-risky-nesting-selector.d.ts +0 -3
  26. package/lib/rules/at-mixin-parentheses-space-before.d.ts +0 -5
  27. package/lib/rules/at-mixin-pattern.d.ts +0 -5
  28. package/lib/rules/at-root-no-redundant.d.ts +0 -3
  29. package/lib/rules/at-rule-conditional-no-parentheses.d.ts +0 -3
  30. package/lib/rules/at-rule-no-unknown.d.ts +0 -8
  31. package/lib/rules/at-use-no-redundant-alias.d.ts +0 -3
  32. package/lib/rules/at-use-no-unnamespaced.d.ts +0 -3
  33. package/lib/rules/block-no-redundant-nesting.d.ts +0 -3
  34. package/lib/rules/comment-no-empty.d.ts +0 -3
  35. package/lib/rules/comment-no-loud.d.ts +0 -3
  36. package/lib/rules/declaration-nested-properties-no-divided-groups.d.ts +0 -3
  37. package/lib/rules/declaration-nested-properties.d.ts +0 -5
  38. package/lib/rules/declaration-property-value-no-unknown.d.ts +0 -31
  39. package/lib/rules/dimension-no-non-numeric-values.d.ts +0 -3
  40. package/lib/rules/dollar-variable-colon-newline-after.d.ts +0 -5
  41. package/lib/rules/dollar-variable-colon-space-after.d.ts +0 -5
  42. package/lib/rules/dollar-variable-colon-space-before.d.ts +0 -5
  43. package/lib/rules/dollar-variable-default.d.ts +0 -8
  44. package/lib/rules/dollar-variable-empty-line-after.d.ts +0 -16
  45. package/lib/rules/dollar-variable-empty-line-before.d.ts +0 -16
  46. package/lib/rules/dollar-variable-first-in-block.d.ts +0 -9
  47. package/lib/rules/dollar-variable-no-missing-interpolation.d.ts +0 -3
  48. package/lib/rules/dollar-variable-no-namespaced-assignment.d.ts +0 -3
  49. package/lib/rules/dollar-variable-pattern.d.ts +0 -8
  50. package/lib/rules/double-slash-comment-empty-line-before.d.ts +0 -9
  51. package/lib/rules/double-slash-comment-inline.d.ts +0 -8
  52. package/lib/rules/double-slash-comment-whitespace-inside.d.ts +0 -5
  53. package/lib/rules/function-calculation-no-interpolation.d.ts +0 -3
  54. package/lib/rules/function-color-relative.d.ts +0 -3
  55. package/lib/rules/function-disallowed-list.d.ts +0 -5
  56. package/lib/rules/function-no-unknown.d.ts +0 -8
  57. package/lib/rules/function-quote-no-quoted-strings-inside.d.ts +0 -3
  58. package/lib/rules/function-unquote-no-unquoted-strings-inside.d.ts +0 -3
  59. package/lib/rules/load-no-partial-leading-underscore.d.ts +0 -3
  60. package/lib/rules/load-partial-extension.d.ts +0 -5
  61. package/lib/rules/map-keys-quotes.d.ts +0 -5
  62. package/lib/rules/media-feature-value-dollar-variable.d.ts +0 -8
  63. package/lib/rules/no-dollar-variables.d.ts +0 -3
  64. package/lib/rules/no-duplicate-dollar-variables.d.ts +0 -8
  65. package/lib/rules/no-duplicate-mixins.d.ts +0 -3
  66. package/lib/rules/no-global-function-names.d.ts +0 -3
  67. package/lib/rules/no-unused-private-members.d.ts +0 -3
  68. package/lib/rules/operator-no-newline-after.d.ts +0 -3
  69. package/lib/rules/operator-no-newline-before.d.ts +0 -3
  70. package/lib/rules/operator-no-unspaced.d.ts +0 -3
  71. package/lib/rules/partial-no-import.d.ts +0 -3
  72. package/lib/rules/percent-placeholder-pattern.d.ts +0 -5
  73. package/lib/rules/property-no-unknown.d.ts +0 -21
  74. package/lib/rules/selector-nest-combinators.d.ts +0 -5
  75. package/lib/rules/selector-no-redundant-nesting-selector.d.ts +0 -8
  76. package/lib/rules/selector-no-union-class-name.d.ts +0 -3
  77. package/lib/types.d.ts +0 -839
package/lib/types.d.ts DELETED
@@ -1,839 +0,0 @@
1
- import type { AtEachKeyValueSingleLineOptions } from './rules/at-each-key-value-single-line'
2
- import type { AtElseClosingBraceNewlineAfterOptions } from './rules/at-else-closing-brace-newline-after'
3
- import type { AtElseEmptyLineBeforeOptions } from './rules/at-else-empty-line-before'
4
- import type { AtElseIfParenthesesSpaceBeforeOptions } from './rules/at-else-if-parentheses-space-before'
5
- import type { AtExtendNoMissingPlaceholderOptions } from './rules/at-extend-no-missing-placeholder'
6
- import type { AtFunctionNamedArgumentsOptions } from './rules/at-function-named-arguments'
7
- import type { AtFunctionParenthesesSpaceBeforeOptions } from './rules/at-function-parentheses-space-before'
8
- import type { AtFunctionPatternOptions } from './rules/at-function-pattern'
9
- import type { AtIfClosingBraceNewlineAfterOptions } from './rules/at-if-closing-brace-newline-after'
10
- import type { AtIfNoNullOptions } from './rules/at-if-no-null'
11
- import type { AtIfClosingBraceSpaceAfterOptions } from './rules/at-if-closing-brace-space-after'
12
- import type { AtImportNoPartialLeadingUnderscoreOptions } from './rules/at-import-no-partial-leading-underscore'
13
- import type { AtImportPartialExtensionOptions } from './rules/at-import-partial-extension'
14
- import type { AtImportPartialExtensionBlacklistOptions } from './rules/at-import-partial-extension-blacklist'
15
- import type { AtImportPartialExtensionWhitelistOptions } from './rules/at-import-partial-extension-whitelist'
16
- import type { AtMixinArgumentlessCallParenthesesOptions } from './rules/at-mixin-argumentless-call-parentheses'
17
- import type { AtMixinNamedArgumentsOptions } from './rules/at-mixin-named-arguments'
18
- import type { AtMixinParenthesesSpaceBeforeOptions } from './rules/at-mixin-parentheses-space-before'
19
- import type { AtMixinPatternOptions } from './rules/at-mixin-pattern'
20
- import type { AtRootNoRedundantOptions } from './rules/at-root-no-redundant'
21
- import type { AtRuleNoUnknownOptions } from './rules/at-rule-no-unknown'
22
- import type { AtRuleConditionalNoParenthesesOptions } from './rules/at-rule-conditional-no-parentheses'
23
- import type { AtUseNoRedundantAliasOptions } from './rules/at-use-no-redundant-alias'
24
- import type { AtUseNoUnnamespacedOptions } from './rules/at-use-no-unnamespaced'
25
- import type { BlockNoRedundantNestingOptions } from './rules/block-no-redundant-nesting'
26
- import type { CommentNoEmptyOptions } from './rules/comment-no-empty'
27
- import type { CommentNoLoudOptions } from './rules/comment-no-loud'
28
- import type { DeclarationNestedPropertiesNoDividedGroupsOptions } from './rules/declaration-nested-properties-no-divided-groups'
29
- import type { DimensionNoNonNumericValuesOptions } from './rules/dimension-no-non-numeric-values'
30
- import type { DeclarationNestedPropertiesOptions } from './rules/declaration-nested-properties'
31
- import type { DollarVariableColonNewlineAfterOptions } from './rules/dollar-variable-colon-newline-after'
32
- import type { DollarVariableColonSpaceAfterOptions } from './rules/dollar-variable-colon-space-after'
33
- import type { DollarVariableColonSpaceBeforeOptions } from './rules/dollar-variable-colon-space-before'
34
- import type { DollarVariableDefaultOptions } from './rules/dollar-variable-default'
35
- import type { DollarVariableEmptyLineBeforeOptions } from './rules/dollar-variable-empty-line-before'
36
- import type { DollarVariableEmptyLineAfterOptions } from './rules/dollar-variable-empty-line-after'
37
- import type { DollarVariableFirstInBlockOptions } from './rules/dollar-variable-first-in-block'
38
- import type { DollarVariableNoMissingInterpolationOptions } from './rules/dollar-variable-no-missing-interpolation'
39
- import type { DollarVariablePatternOptions } from './rules/dollar-variable-pattern'
40
- import type { DollarVariableNoNamespacedAssignmentOptions } from './rules/dollar-variable-no-namespaced-assignment'
41
- import type { DoubleSlashCommentEmptyLineBeforeOptions } from './rules/double-slash-comment-empty-line-before'
42
- import type { DoubleSlashCommentWhitespaceInsideOptions } from './rules/double-slash-comment-whitespace-inside'
43
- import type { DoubleSlashCommentInlineOptions } from './rules/double-slash-comment-inline'
44
- import type { FunctionCalculationNoInterpolationOptions } from './rules/function-calculation-no-interpolation'
45
- import type { FunctionColorRelativeOptions } from './rules/function-color-relative'
46
- import type { FunctionNoUnknownOptions } from './rules/function-no-unknown'
47
- import type { FunctionDisallowedListOptions } from './rules/function-disallowed-list'
48
- import type { FunctionQuoteNoQuotedStringsInsideOptions } from './rules/function-quote-no-quoted-strings-inside'
49
- import type { FunctionUnquoteNoUnquotedStringsInsideOptions } from './rules/function-unquote-no-unquoted-strings-inside'
50
- import type { LoadNoPartialLeadingUnderscoreOptions } from './rules/load-no-partial-leading-underscore'
51
- import type { MapKeysQuotesOptions } from './rules/map-keys-quotes'
52
- import type { NoDollarVariablesOptions } from './rules/no-dollar-variables'
53
- import type { MediaFeatureValueDollarVariableOptions } from './rules/media-feature-value-dollar-variable'
54
- import type { NoDuplicateDollarVariablesOptions } from './rules/no-duplicate-dollar-variables'
55
- import type { NoGlobalFunctionNamesOptions } from './rules/no-global-function-names'
56
- import type { NoDuplicateMixinsOptions } from './rules/no-duplicate-mixins'
57
- import type { OperatorNoNewlineAfterOptions } from './rules/operator-no-newline-after'
58
- import type { OperatorNoNewlineBeforeOptions } from './rules/operator-no-newline-before'
59
- import type { OperatorNoUnspacedOptions } from './rules/operator-no-unspaced'
60
- import type { PartialNoImportOptions } from './rules/partial-no-import'
61
- import type { PropertyNoUnknownOptions } from './rules/property-no-unknown'
62
- import type { PercentPlaceholderPatternOptions } from './rules/percent-placeholder-pattern'
63
- import type { SelectorNoRedundantNestingSelectorOptions } from './rules/selector-no-redundant-nesting-selector'
64
- import type { SelectorNoUnionClassNameOptions } from './rules/selector-no-union-class-name'
65
- import type { SelectorNestCombinatorsOptions } from './rules/selector-nest-combinators'
66
- import type { NoUnusedPrivateMembersOptions } from './rules/no-unused-private-members'
67
- import type { AtImportPartialExtensionAllowedListOptions } from './rules/at-import-partial-extension-allowed-list'
68
- import type { AtImportPartialExtensionDisallowedListOptions } from './rules/at-import-partial-extension-disallowed-list'
69
- import type { AtMixinNoRiskyNestingSelectorOptions } from './rules/at-mixin-no-risky-nesting-selector'
70
- import type { LoadPartialExtensionOptions } from './rules/load-partial-extension'
71
- import type { DeclarationPropertyValueNoUnknownOptions } from './rules/declaration-property-value-no-unknown'
72
-
73
- export interface Extends {
74
- 'stylelint-config-standard-scss': void
75
- 'stylelint-config-recommended-scss': void
76
- 'stylelint-config-prettier-scss': void
77
- }
78
-
79
- export interface Plugins {
80
- 'stylelint-scss': void
81
- }
82
-
83
- export interface Syntax {
84
- 'postcss-scss': void
85
- }
86
-
87
- interface RuleOptions {
88
-
89
- /**
90
- * This is a rule that checks for situations where users have:
91
- * - Done a loop using map-keys
92
- * - Grabbed the value for that key inside of the loop.
93
- *
94
- * @see [at-each-key-value-single-line](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-each-key-value-single-line)
95
- */
96
- 'scss/at-each-key-value-single-line': AtEachKeyValueSingleLineOptions
97
-
98
- /**
99
- * Require or disallow a newline after the closing brace of `@else` statements.
100
- *
101
- * @see [at-else-closing-brace-newline-after](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-else-closing-brace-space-after)
102
- */
103
- 'scss/at-else-closing-brace-newline-after': AtElseClosingBraceNewlineAfterOptions
104
-
105
- /**
106
- * Require a single space or disallow whitespace after the closing brace of `@else` statements.
107
- *
108
- * @see [at-else-closing-brace-space-after](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-else-closing-brace-space-after)
109
- */
110
- 'scss/at-else-closing-brace-space-after': AtElseClosingBraceNewlineAfterOptions
111
-
112
- /**
113
- * Require an empty line or disallow empty lines before `@`-else.
114
- *
115
- * @see [at-else-empty-line-before](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-else-empty-line-before)
116
- */
117
- 'scss/at-else-empty-line-before': AtElseEmptyLineBeforeOptions
118
-
119
- /**
120
- * Require or disallow a space before `@else if` parentheses.
121
- *
122
- * @see [at-else-if-parentheses-space-before](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-else-if-parentheses-space-before)
123
- */
124
- 'scss/at-else-if-parentheses-space-before': AtElseIfParenthesesSpaceBeforeOptions
125
-
126
- /**
127
- * Disallow at-extends (`@extend`) with missing placeholders.
128
- *
129
- * Using a class selector with the `@extend` directive usually results in more generated CSS than when using a placeholder selector. Furthermore, Sass specifically introduced placeholder selectors in order to be used with `@extend`.
130
- *
131
- * @see [at-extend-no-missing-placeholder](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-extend-no-missing-placeholder)
132
- */
133
- 'scss/at-extend-no-missing-placeholder': AtExtendNoMissingPlaceholderOptions
134
-
135
- /**
136
- * Require named parameters in SCSS function call rule.
137
- *
138
- * @see [at-function-named-arguments](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-function-named-arguments)
139
- */
140
- 'scss/at-function-named-arguments': AtFunctionNamedArgumentsOptions
141
-
142
- /**
143
- * Require or disallow a space before `@function` parentheses.
144
- *
145
- * @see [at-function-parentheses-space-before](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/at-function-parentheses-space-before)
146
- */
147
- 'scss/at-function-parentheses-space-before': AtFunctionParenthesesSpaceBeforeOptions
148
-
149
- /**
150
- * Specify a pattern for Sass/SCSS-like function names.
151
- *
152
- * @see [at-function-pattern](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-function-pattern)
153
- */
154
- 'scss/at-function-pattern': AtFunctionPatternOptions
155
-
156
- /**
157
- * Require or disallow a newline after the closing brace of `@if` statements.
158
- *
159
- * This rule might have conflicts with Stylelint's core rule
160
- * [`block-closing-brace-newline-after`](https://stylelint.io/user-guide/rules/block-closing-brace-newline-after)
161
- * if it doesn't have `"ignoreAtRules": ["if"]` in a `.stylelintrc` config file.
162
- * That's because an `@if { ... }` statement can be successfully parsed as an at-rule with a block.
163
- * You might also want to set `"ignoreAtRules": ["else"]` for another stylelint's core rule -
164
- * [`at-rule-empty-line-before`](https://stylelint.io/user-guide/rules/at-rule-empty-line-before)
165
- * that could be forcing empty lines before at-rules (including `@else`s that follow `@if`s or other `@else`s).
166
- *
167
- * @see [at-if-closing-brace-newline-after](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-if-closing-brace-newline-after)
168
- */
169
- 'scss/at-if-closing-brace-newline-after': AtIfClosingBraceNewlineAfterOptions
170
-
171
- /**
172
- * Require a single space or disallow whitespace after the closing brace of `@if` statements.
173
- *
174
- * This rule might have conflicts with Stylelint's core
175
- * [`block-closing-brace-space-after`](https://stylelint.io/user-guide/rules/block-closing-brace-space-after) rule if the latter is set up in your `.stylelintrc` config file.
176
- *
177
- * @see [at-if-closing-brace-space-after](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-if-closing-brace-space-after)
178
- */
179
- 'scss/at-if-closing-brace-space-after': AtIfClosingBraceSpaceAfterOptions
180
-
181
- /**
182
- * Check for equality to null is unnecessarily explicit since `null` is falsey in Sass.
183
- *
184
- * @see [at-if-no-null](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-if-no-null)
185
- */
186
- 'scss/at-if-no-null': AtIfNoNullOptions
187
-
188
- /**
189
- * @deprecated Use `load-partial-extension` instead, and will be removed in '7.0'.
190
- *
191
- * Require or disallow extension in `@import` commands.
192
- *
193
- * The rule ignores [cases](https://sass-lang.com/documentation/at-rules/import) when Sass considers an `@import` command just a plain CSS import:
194
- * - If the file’s extension is `.css`.
195
- * - If the filename begins with `http://` (or any other protocol).
196
- * - If the filename is a `url()`.
197
- * - If the `@import` has any media queries.
198
- *
199
- * @see [at-import-partial-extension](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-import-partial-extension)
200
- */
201
- 'scss/at-import-partial-extension': AtImportPartialExtensionOptions
202
-
203
- /**
204
- * Disallow leading underscore in partial names in `@import`.
205
- *
206
- * The rule ignores [cases](https://sass-lang.com/documentation/at-rules/import) when Sass considers an `@import` command just a plain CSS import:
207
- * - If the file’s extension is `.css`.
208
- * - If the filename begins with `http://` (or any other protocol).
209
- * - If the filename is a `url()`.
210
- * - If the `@import` has any media queries.
211
- *
212
- * @see [at-import-no-partial-leading-underscore](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-import-no-partial-leading-underscore)
213
- */
214
- 'scss/at-import-no-partial-leading-underscore': AtImportNoPartialLeadingUnderscoreOptions
215
-
216
- /**
217
- * @deprecated Use `at-import-partial-extension-disallowed-list` instead, and will be removed in '7.0'.
218
- *
219
- * Specify a blacklist of disallowed file extensions for partial names in `@import` commands.
220
- *
221
- * The rule ignores [cases](https://sass-lang.com/documentation/at-rules/import) when Sass considers an `@import` command just a plain CSS import:
222
- * - If the file’s extension is `.css`.
223
- * - If the filename begins with `http://` (or any other protocol).
224
- * - If the filename is a `url()`.
225
- * - If the `@import` has any media queries.
226
- *
227
- * @see [at-import-partial-extension-blacklist](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-import-partial-extension-blacklist)
228
- */
229
- 'scss/at-import-partial-extension-blacklist': AtImportPartialExtensionBlacklistOptions
230
-
231
- /**
232
- * @deprecated Use `at-import-partial-extension-allowed-list` instead, and will be removed in '7.0'.
233
- *
234
- * Specify a whitelist of allowed file extensions for partial names in `@import` commands.
235
- *
236
- * The rule ignores [cases](https://sass-lang.com/documentation/at-rules/import) when Sass considers an `@import` command just a plain CSS import:
237
- * - If the file’s extension is `.css`.
238
- * - If the filename begins with `http://` (or any other protocol).
239
- * - If the filename is a `url()`.
240
- * - If the `@import` has any media queries.
241
- *
242
- * @see [at-import-partial-extension-whitelist](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-import-partial-extension-whitelist)
243
- */
244
- 'scss/at-import-partial-extension-whitelist': AtImportPartialExtensionWhitelistOptions
245
-
246
- /**
247
- * Specify a whitelist of allowed file extensions for partial names in `@import` commands.
248
- *
249
- * The rule ignores [cases](https://sass-lang.com/documentation/at-rules/import) when Sass considers an `@import` command just a plain CSS import:
250
- * - If the file’s extension is `.css`.
251
- * - If the filename begins with `http://` (or any other protocol).
252
- * - If the filename is a `url()`.
253
- * - If the `@import` has any media queries.
254
- *
255
- * @see [at-import-partial-extension-allowed-list](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-import-partial-extension-allowed-list)
256
- */
257
- 'scss/at-import-partial-extension-allowed-list': AtImportPartialExtensionAllowedListOptions
258
-
259
- /**
260
- * Specify a blacklist of disallowed file extensions for partial names in `@import` commands.
261
- *
262
- * The rule ignores [cases](https://sass-lang.com/documentation/at-rules/import) when Sass considers an `@import` command just a plain CSS import:
263
- * - If the file’s extension is `.css`.
264
- * - If the filename begins with `http://` (or any other protocol).
265
- * - If the filename is a `url()`.
266
- * - If the `@import` has any media queries.
267
- *
268
- * @see [at-import-partial-extension-disallowed-list](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-import-partial-extension-disallowed-list)
269
- */
270
- 'scss/at-import-partial-extension-disallowed-list': AtImportPartialExtensionDisallowedListOptions
271
-
272
- /**
273
- * Require named parameters in at-mixin call rule.
274
- *
275
- * @see [at-mixin-named-arguments](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-mixin-named-arguments)
276
- */
277
- 'scss/at-mixin-named-arguments': AtMixinNamedArgumentsOptions
278
-
279
- /**
280
- * Disallow risky nesting selectors within a mixin.
281
- *
282
- * If a mixin contains a parent selector within another style rule,
283
- * and is used in a nested context, the output selector may include the outermost
284
- * parent selector in an unexpected way.
285
- *
286
- * This only occurs when a parent selector meets all of the following conditions:
287
- * - Is within a `@mixin` rule.
288
- * - Is nested within another style rule.
289
- * - Is not positioned at the beginning of a complex selector.
290
- *
291
- * @see [at-mixin-no-risky-nesting-selector](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-mixin-no-risky-nesting-selector)
292
- */
293
- 'scss/at-mixin-no-risky-nesting-selector': AtMixinNoRiskyNestingSelectorOptions
294
-
295
- /**
296
- * Require or disallow parentheses in argumentless `@mixin` calls.
297
- *
298
- * @see [at-mixin-argumentless-call-parentheses](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-mixin-argumentless-call-parentheses)
299
- */
300
- 'scss/at-mixin-argumentless-call-parentheses': AtMixinArgumentlessCallParenthesesOptions
301
-
302
- /**
303
- * Require or disallow a space before `@mixin` parentheses.
304
- *
305
- * @see [at-mixin-parentheses-space-before](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-mixin-parentheses-space-before)
306
- */
307
- 'scss/at-mixin-parentheses-space-before': AtMixinParenthesesSpaceBeforeOptions
308
-
309
- /**
310
- * Specify a pattern for Sass/SCSS-like mixin names.
311
- *
312
- * @see [at-mixin-pattern](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-mixin-pattern)
313
- */
314
- 'scss/at-mixin-pattern': AtMixinPatternOptions
315
-
316
- /**
317
- * Disallow redundant `@at-root` rule.
318
- *
319
- * The `@at-root` rule is redundant in the following cases:
320
- * - If `@at-root` is already at the root of the document.
321
- * - If any `@at-root` selector contains the parent selector, [`&`](https://sass-lang.com/documentation/style-rules/parent-selector/), outside interpolation.
322
- * - If `@at-root` is nested within a `@keyframes` block.
323
- *
324
- * @see [at-root-no-redundant](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-root-no-redundant)
325
- */
326
- 'scss/at-root-no-redundant': AtRootNoRedundantOptions
327
-
328
- /**
329
- * Disallow parentheses in conditional @ rules (if, elsif, while)
330
- *
331
- * @see [at-rule-conditional-no-parentheses](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-rule-conditional-no-parentheses)
332
- */
333
- 'scss/at-rule-conditional-no-parentheses': AtRuleConditionalNoParenthesesOptions
334
-
335
- /**
336
- * Disallow unknown at-rules. Should be used **instead of** Stylelint's [at-rule-no-unknown](https://stylelint.io/user-guide/rules/at-rule-no-unknown).
337
- *
338
- * This rule is basically a wrapper around the mentioned core rule,
339
- * but with added SCSS-specific `@`-directives. So if you use the core rule, `@if`,
340
- * `@extend` and other Sass-y things will get warnings. You must disable Stylelint's core
341
- * rule to make this rule work:
342
- * ```json
343
- * {
344
- * "rules": {
345
- * "at-rule-no-unknown": null,
346
- * "scss/at-rule-no-unknown": true
347
- * }
348
- * }
349
- * ```
350
- *
351
- * @see [at-rule-no-unknown](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-rule-no-unknown)
352
- */
353
- 'scss/at-rule-no-unknown': AtRuleNoUnknownOptions
354
-
355
- /**
356
- * Disallow redundant namespace aliases.
357
- *
358
- * @see [at-use-no-redundant-alias](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-use-no-redundant-alias)
359
- */
360
- 'scss/at-use-no-redundant-alias': AtUseNoRedundantAliasOptions
361
-
362
- /**
363
- * Disallow usage of `@use` without a namespace.
364
- *
365
- * @see [at-use-no-unnamespaced](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-use-no-unnamespaced)
366
- */
367
- 'scss/at-use-no-unnamespaced': AtUseNoUnnamespacedOptions
368
-
369
- /**
370
- * Disallow empty comments. Should be used **instead of** the Stylelint's [comment-no-empty](https://stylelint.io/user-guide/rules/comment-no-empty) because the core rule ignores SCSS-like comments.
371
- *
372
- * To avoid duplicate issues, you must disable the core rule as follows:
373
- * ```json
374
- * {
375
- * "rules": {
376
- * "comment-no-empty": null,
377
- * "scss/comment-no-empty": true
378
- * }
379
- * }
380
- * ```
381
- *
382
- * @see [comment-no-empty](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/comment-no-empty)
383
- */
384
- 'scss/comment-no-empty': CommentNoEmptyOptions
385
-
386
- /**
387
- * Disallow nesting a single block if it could be merged with its parent block.
388
- *
389
- * @see [block-no-redundant-nesting](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/block-no-redundant-nesting)
390
- */
391
- 'scss/block-no-redundant-nesting': BlockNoRedundantNestingOptions
392
-
393
- /**
394
- * Require or disallow properties with `-` in their names to be in a form of a nested group.
395
- *
396
- * @see [declaration-nested-properties](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/declaration-nested-properties)
397
- */
398
- 'scss/declaration-nested-properties': DeclarationNestedPropertiesOptions
399
-
400
- /**
401
- * Disallow unknown values for properties within declarations.
402
- *
403
- * This rule considers values for properties defined within the CSS specifications to be known. You can use the `propertiesSyntax` and `typesSyntax` secondary options to extend the syntax.
404
- *
405
- * This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as Sass or Less, as they have their own syntaxes.
406
- *
407
- * This rule is experimental with some false negatives that we'll patch in minor releases.
408
- *
409
- * It sometimes overlaps with:
410
- * - [`color-no-invalid-hex`](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/color-no-invalid-hex/README.md)
411
- * - [`function-no-unknown`](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/function-no-unknown/README.md)
412
- * - [`string-no-newline`](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/string-no-newline/README.md)
413
- * - [`unit-no-unknown`](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/unit-no-unknown/README.md)
414
- *
415
- * If duplicate problems are flagged, you can turn off the corresponding rule.
416
- *
417
- * @see [declaration-property-value-no-unknown](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/declaration-property-value-no-unknown)
418
- */
419
- 'scss/declaration-property-value-no-unknown': DeclarationPropertyValueNoUnknownOptions
420
-
421
- /**
422
- * Disallow `/*`-comments.
423
- *
424
- * This rule only works on CSS comments (`\/* *\/`) and ignores all double-slash (`//`) comments.
425
- *
426
- * @see [comment-no-loud](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/comment-no-loud)
427
- */
428
- 'scss/comment-no-loud': CommentNoLoudOptions
429
-
430
- /**
431
- * Disallow nested properties of the same "namespace" be divided into multiple groups.
432
- *
433
- * A "namespace" is everything before the first `-` in property names,
434
- * e.g. `margin` in `margin-bottom`. It is the "namespace" that is used as a root identifier
435
- * for a nested properties group (`font` in the example above).
436
- *
437
- *[Sass official docs on nested properties](https://sass-lang.com/documentation/style-rules/declarations#nesting).
438
- *
439
- * @see [declaration-nested-properties-no-divided-groups](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/declaration-nested-properties-no-divided-groups)
440
- */
441
- 'scss/declaration-nested-properties-no-divided-groups': DeclarationNestedPropertiesNoDividedGroupsOptions
442
-
443
- /**
444
- * Interpolating a value with a unit (e.g. `#{$value}px`) results in a
445
- * _string_ value, not as numeric value. This value then cannot be used in
446
- * numerical operations. It is better to use arithmetic to apply a unit to a
447
- * number (e.g. `$value * 1px`).
448
- *
449
- * This rule requires that all interpolation for values should be in the format
450
- * `$value * 1<unit>` instead of `#{value}<unit>`
451
- *
452
- * @see [dimension-no-non-numeric-values](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dimension-no-non-numeric-values)
453
- */
454
- 'scss/dimension-no-non-numeric-values': DimensionNoNonNumericValuesOptions
455
-
456
- /**
457
- * Require a newline after the colon in `$`-variable declarations.
458
- *
459
- * @see [dollar-variable-colon-newline-after](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-colon-newline-after)
460
- */
461
- 'scss/dollar-variable-colon-newline-after': DollarVariableColonNewlineAfterOptions
462
-
463
- /**
464
- * Require or disallow whitespace after the colon in `$`-variable declarations.
465
- *
466
- * @see [dollar-variable-colon-space-after](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-colon-space-after)
467
- */
468
- 'scss/dollar-variable-colon-space-after': DollarVariableColonSpaceAfterOptions
469
-
470
- /**
471
- * Require a single space or disallow whitespace before the colon in `$`-variable declarations.
472
- *
473
- * @see [dollar-variable-colon-space-before](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-colon-space-before)
474
- */
475
- 'scss/dollar-variable-colon-space-before': DollarVariableColonSpaceBeforeOptions
476
-
477
- /**
478
- * Require `!default` flag for `$`-variable declarations
479
- *
480
- * @see [dollar-variable-default](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-default)
481
- */
482
- 'scss/dollar-variable-default': DollarVariableDefaultOptions
483
-
484
- /**
485
- * Require an empty line or disallow empty lines after `$`-variable declarations.
486
- *
487
- * If the `$`-variable declaration is the last declaration in a file, it's ignored.
488
- *
489
- * @see [dollar-variable-empty-line-after](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-empty-line-after)
490
- */
491
- 'scss/dollar-variable-empty-line-after': DollarVariableEmptyLineAfterOptions
492
-
493
- /**
494
- * Require `$`-variable declarations to be placed first in a block (root or a rule).
495
- *
496
- * @see [dollar-variable-first-in-block](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-first-in-block)
497
- */
498
- 'scss/dollar-variable-first-in-block': DollarVariableFirstInBlockOptions
499
-
500
- /**
501
- * Require an empty line or disallow empty lines before `$`-variable declarations.
502
- *
503
- * If the `$`-variable declaration is the first declaration in a file, it's ignored.
504
- *
505
- * @see [dollar-variable-empty-line-before](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-empty-line-before)
506
- */
507
- 'scss/dollar-variable-empty-line-before': DollarVariableEmptyLineBeforeOptions
508
-
509
- /**
510
- * Disallow Sass variables that are used without interpolation with CSS features that use custom identifiers.
511
- *
512
- * Sass variables that contain a custom identifier as a string always require interpolation when used.
513
- * Some CSS [at-rules](https://css-tricks.com/the-at-rules-of-css/) require variable interpolation even when the custom identifier value is not a string.
514
- *
515
- * @see [dollar-variable-no-missing-interpolation](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-no-missing-interpolation)
516
- */
517
- 'scss/dollar-variable-no-missing-interpolation': DollarVariableNoMissingInterpolationOptions
518
-
519
- /**
520
- * Disallow assignment to namespaced variables.
521
- *
522
- * @see [dollar-variable-no-namespaced-assignment](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-no-namespaced-assignment)
523
- */
524
- 'scss/dollar-variable-no-namespaced-assignment': DollarVariableNoNamespacedAssignmentOptions
525
-
526
- /**
527
- * Specify a pattern for Sass-like variables.
528
- *
529
- * @see [dollar-variable-pattern](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-pattern)
530
- */
531
- 'scss/dollar-variable-pattern': DollarVariablePatternOptions
532
-
533
- /**
534
- * Require or disallow an empty line before `//`-comments.
535
- *
536
- * This rule only works with SCSS-like [single-line comments](https://sass-lang.com/documentation/syntax/comments) and ignores:
537
- * - comments that are the very first nodes in a file;
538
- * - CSS comments (`\/* *\/`);
539
- * - comments that are on the same line as some non-comment code (inline comments).
540
- *
541
- * @see [double-slash-comment-empty-line-before](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/double-slash-comment-empty-line-before)
542
- */
543
- 'scss/double-slash-comment-empty-line-before': DoubleSlashCommentEmptyLineBeforeOptions
544
-
545
- /**
546
- * Require or disallow `//`-comments to be inline comments.
547
- *
548
- * An inline comment in terms of this rule is a comment that is placed on the same line with any other code, either before or after it.
549
- *
550
- * This rule only works with SCSS-like [single-line comments](https://sass-lang.com/documentation/syntax/comments) and ignores CSS comments (`\/* *\/`).
551
- *
552
- * @see [double-slash-comment-inline](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/double-slash-comment-inline)
553
- */
554
- 'scss/double-slash-comment-inline': DoubleSlashCommentInlineOptions
555
-
556
- /**
557
- * Require or disallow whitespace after the `//` in `//`-comments
558
- *
559
- * This rule only works with SCSS-like [single-line comments](https://sass-lang.com/documentation/syntax/comments) and ignores CSS comments (`\/* *\/`).
560
- *
561
- * Any number of slashes are allowed at the beginning of the comment. So `/// comment` is treated the same way as `// comment`.
562
- *
563
- * Note that a newline is not possible as a whitespace in terms of this rule as `//` - comments are intended to be single - line.
564
- *
565
- * @see [double-slash-comment-whitespace-inside](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/double-slash-comment-whitespace-inside)
566
- */
567
- 'scss/double-slash-comment-whitespace-inside': DoubleSlashCommentWhitespaceInsideOptions
568
-
569
- /**
570
- * Disallow interpolation in `calc()`, `clamp()`, `min()`, and `max()` functions.
571
- *
572
- * Since the release of [first-class `calc()`](https://sass-lang.com/documentation/values/calculations/),
573
- * calculation functions `calc()`, `clamp()`, `min()`, and `max()` accept variables
574
- * nd function calls as arguments. This rule disallows interpolation to avoid
575
- * extra verbose or even invalid CSS.
576
- *
577
- * @see [function-calculation-no-interpolation](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/function-calculation-no-interpolation)
578
- */
579
- 'scss/function-calculation-no-interpolation': FunctionCalculationNoInterpolationOptions
580
-
581
- /**
582
- * Encourage the use of the [scale-color](https://sass-lang.com/documentation/modules/color#scale-color) over:
583
- *
584
- * - [darken](https://sass-lang.com/documentation/modules/color#darken)
585
- * - [desaturate](https://sass-lang.com/documentation/modules/color#desaturate)
586
- * - [fade-in](https://sass-lang.com/documentation/modules/color#fade-in)
587
- * - [fade-out](https://sass-lang.com/documentation/modules/color#fade-out)
588
- * - [lighten](https://sass-lang.com/documentation/modules/color#lighten)
589
- * - [opacify](https://sass-lang.com/documentation/modules/color#opacify)
590
- * - [saturate](https://sass-lang.com/documentation/modules/color#saturate)
591
- * - [transparentize](https://sass-lang.com/documentation/modules/color#transparentize)
592
- *
593
- * @see [function-color-relative](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/function-color-relative)
594
- */
595
- 'scss/function-color-relative': FunctionColorRelativeOptions
596
-
597
- /**
598
- * Specify a list of disallowed functions.
599
- *
600
- * @see [function-disallowed-list](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/function-disallowed-list)
601
- */
602
- 'scss/function-disallowed-list': FunctionDisallowedListOptions
603
-
604
- /**
605
- * Disallow unknown functions. Should be used **instead of** Stylelint's [function-no-unknown](https://stylelint.io/user-guide/rules/function-no-unknown).
606
- *
607
- * This rule is basically a wrapper around the mentioned core rule. You must disable Stylelint's core rule to make this rule work:
608
- * ```json
609
- * {
610
- * "rules": {
611
- * "function-no-unknown": null,
612
- * "scss/function-no-unknown": true
613
- * }
614
- * }
615
- * ```
616
- *
617
- * @see [function-no-unknown](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/function-no-unknown)
618
- */
619
- 'scss/function-no-unknown': FunctionNoUnknownOptions
620
-
621
- /**
622
- * Disallow quoted strings inside the [quote function](https://sass-lang.com/documentation/modules/string#quote)
623
- *
624
- * @see [function-quote-no-quoted-strings-inside](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/function-quote-no-quoted-strings-inside)
625
- */
626
- 'scss/function-quote-no-quoted-strings-inside': FunctionQuoteNoQuotedStringsInsideOptions
627
-
628
- /**
629
- * Disallow unquoted strings inside the [unquote function](https://sass-lang.com/documentation/modules/string#unquote)
630
- *
631
- * @see [function-unquote-no-unquoted-strings-inside](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/function-unquote-no-unquoted-strings-inside)
632
- */
633
- 'scss/function-unquote-no-unquoted-strings-inside': FunctionUnquoteNoUnquotedStringsInsideOptions
634
-
635
- /**
636
- * Disallow leading underscore in partial names in `@import`, `@use`, `@forward`,
637
- * and [`meta.load-css`](https://sass-lang.com/documentation/modules/meta/#load-css) `$url` parameter.
638
- *
639
- * The rule ignores [cases](https://sass-lang.com/documentation/at-rules/import) when Sass considers an `@import` command just a plain CSS import:
640
- * - If the file’s extension is `.css`.
641
- * - If the filename begins with `http://` (or any other protocol).
642
- * - If the filename is a `url()`.
643
- * - If the `@import` has any media queries.
644
- *
645
- * @see [load-no-partial-leading-underscore](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/load-no-partial-leading-underscore)
646
- */
647
- 'scss/load-no-partial-leading-underscore': LoadNoPartialLeadingUnderscoreOptions
648
-
649
- /**
650
- * Require or disallow extension in `@import`, `@use`, `@forward`, and `[meta.load-css]` commands.
651
- *
652
- * The [`fix` option](https://stylelint.io/user-guide/usage/options#fix) can automatically fix all of the problems reported by this rule only when `"never"` is given.
653
- *
654
- * The rule ignores [cases](https://sass-lang.com/documentation/at-rules/import) when Sass considers an `@import` command just a plain CSS import:
655
- * - If the file’s extension is `.css`.
656
- * - If the filename begins with `http://` (or any other protocol).
657
- * - If the filename is a `url()`.
658
- * - If the `@import` has any media queries.
659
- *
660
- * @see [load-partial-extension](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/load-partial-extension)
661
- */
662
- 'scss/load-partial-extension': LoadPartialExtensionOptions
663
-
664
- /**
665
- * Require quoted keys in Sass maps.
666
- *
667
- * @see [map-keys-quotes](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/map-keys-quotes)
668
- */
669
- 'scss/map-keys-quotes': MapKeysQuotesOptions
670
-
671
- /**
672
- * Require a media feature value be a `$`-variable or disallow `$`-variables in media feature values.
673
- *
674
- * @see [media-feature-value-dollar-variable](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/media-feature-value-dollar-variable)
675
- */
676
- 'scss/media-feature-value-dollar-variable': MediaFeatureValueDollarVariableOptions
677
-
678
- /**
679
- * Disallow dollar variables within a stylesheet.
680
- *
681
- * @see [no-dollar-variables](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/no-dollar-variables)
682
- */
683
- 'scss/no-dollar-variables': NoDollarVariablesOptions
684
-
685
- /**
686
- * Disallow duplicate dollar variables within a stylesheet.
687
- *
688
- * @see [no-duplicate-dollar-variables](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/no-duplicate-dollar-variables)
689
- */
690
- 'scss/no-duplicate-dollar-variables': NoDuplicateDollarVariablesOptions
691
-
692
- /**
693
- * Disallow duplicate mixins within a stylesheet.
694
- *
695
- * @see [no-duplicate-mixins](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/no-duplicate-mixins)
696
- */
697
- 'scss/no-duplicate-mixins': NoDuplicateMixinsOptions
698
-
699
- /**
700
- * Disallows the use of global function names, as these global functions are now located inside built-in Sass modules.
701
- *
702
- * A full list of disallowed names (and their alternatives) is located [here](https://github.com/sass/sass/blob/main/accepted/module-system.md#built-in-modules-1)
703
- *
704
- * It is recommended to use the [Sass migrator](https://sass-lang.com/documentation/cli/migrator) to change these global function names automatically.
705
- *
706
- * @see [no-global-function-names](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/no-global-function-names)
707
- */
708
- 'scss/no-global-function-names': NoGlobalFunctionNamesOptions
709
-
710
- /**
711
- * Disallow unused private members.
712
- *
713
- * [Private members](https://sass-lang.com/documentation/at-rules/use/#private-members),
714
- * such as functions, mixins, variables, and selector placeholders are defined with names that
715
- * start with either `-` or `_` (in the case of variables the name follows `$`, and the same
716
- * applies to the `%` prefix for selector placeholders). These private members remain confined
717
- * within the module, therefore, if they go unused within the module, they are considered unused.
718
- *
719
- * This rule ignores files using `@import` since all files loaded through it are consolidated
720
- * within the same module. This setup makes it tricky to ensure all usages of private members.
721
- *
722
- * @see [no-unused-private-members](https://github.com/stylelint-scss/stylelint-scss/tree/master/src/rules/no-unused-private-members)
723
- */
724
- 'scss/no-unused-private-members': NoUnusedPrivateMembersOptions
725
-
726
- /**
727
- * Disallow linebreaks after Sass operators.
728
- *
729
- * This rule checks math operators (`+`, `-`, `/`, `*`, `%`) and comparison operators (`>`, `<`, `!=`, `==`, `>=`, `<=`).
730
- *
731
- * Not all symbols that correspond to math operators are actually considered operators by Sass. Some of the exceptions are:
732
- *
733
- * - `+` and `-` as signs before values;
734
- * - `+` and `-` as signs in [space-delimited lists](https://sass-lang.com/documentation/operators/string);
735
- * - `-` as part of [a string](https://sass-lang.com/documentation/operators/string) or [a Sass identifier](https://sass-lang.com/documentation/operators/numeric#unary-operators), e.g. a variable;
736
- * - `/` as a CSS delimiter in property values like `font: 10px/1.2 Arial;` ([read more](https://sass-lang.com/documentation/operators/numeric#slash-separated-values)).
737
- *
738
- * For more details refer to [Sass official documentation](https://sass-lang.com/documentation). An online Sass compiler - [Sassmeister](https://www.sassmeister.com/) - could also come in handy.
739
- *
740
- * @see [operator-no-newline-after](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/operator-no-newline-after)
741
- */
742
- 'scss/operator-no-newline-after': OperatorNoNewlineAfterOptions
743
-
744
- /**
745
- * Disallow linebreaks before Sass operators.
746
- *
747
- * This rule checks math operators (`+`, `-`, `/`, `*`, `%`) and comparison operators (`>`, `<`, `!=`, `==`, `>=`, `<=`).
748
- *
749
- * Not all symbols that correspond to math operators are actually considered operators by Sass. Some of the exceptions are:
750
- *
751
- * - `+` and `-` as signs before values;
752
- * - `+` and `-` as signs in [space-delimited lists](https://sass-lang.com/documentation/operators/string);
753
- * - `-` as part of [a string](https://sass-lang.com/documentation/operators/string) or [a Sass identifier](https://sass-lang.com/documentation/operators/numeric#unary-operators), e.g. a variable;
754
- * - `/` as a CSS delimiter in property values like `font: 10px/1.2 Arial;` ([read more](https://sass-lang.com/documentation/operators/numeric#slash-separated-values)).
755
- *
756
- * For more details refer to [Sass official documentation](https://sass-lang.com/documentation). An online Sass compiler - [Sassmeister](https://www.sassmeister.com/) - could also come in handy.
757
- *
758
- * @see [operator-no-newline-before](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/operator-no-newline-before)
759
- */
760
- 'scss/operator-no-newline-before': OperatorNoNewlineBeforeOptions
761
-
762
- /**
763
- * Disallow unspaced operators in Sass operations.
764
- *
765
- * This rule checks math operators (`+`, `-`, `/`, `*`, `%`) and comparison operators (`>`, `<`, `!=`, `==`, `>=`, `<=`).
766
- *
767
- * Not all symbols that correspond to math operators are actually considered operators by Sass. Some of the exceptions are:
768
- *
769
- * - `+` and `-` as signs before values;
770
- * - `+` and `-` as signs in [space-delimited lists](https://sass-lang.com/documentation/operators/string);
771
- * - `-` as part of [a string](https://sass-lang.com/documentation/operators/string) or [a Sass identifier](https://sass-lang.com/documentation/operators/numeric#unary-operators), e.g. a variable;
772
- * - `/` as a CSS delimiter in property values like `font: 10px/1.2 Arial;` ([read more](https://sass-lang.com/documentation/operators/numeric#slash-separated-values)).
773
- *
774
- * For more details refer to [Sass official documentation](https://sass-lang.com/documentation/file.SASS_REFERENCE.html). An online Sass compiler - [Sassmeister](https://www.sassmeister.com/) - could also come in handy.
775
- *
776
- * @see [operator-no-unspaced](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/operator-no-unspaced)
777
- */
778
- 'scss/operator-no-unspaced': OperatorNoUnspacedOptions
779
-
780
- /**
781
- * Disallow non-CSS `@import`s in partial files.
782
- *
783
- * The rule skips CSS files (doesn't report any `@import`s in them).
784
- *
785
- * The rule also ignores [cases](https://sass-lang.com/documentation/at-rules/import) when Sass considers an `@import` command just a plain CSS import:
786
- *
787
- * - If the file’s extension is `.css`.
788
- * - If the filename begins with `http://` (or any other protocol).
789
- * - If the filename is a `url()`.
790
- * - If the `@import` has any media queries.
791
- *
792
- * @see [partial-no-import](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/partial-no-import)
793
- */
794
- 'scss/partial-no-import': PartialNoImportOptions
795
-
796
- /**
797
- * Specify a pattern for `%`-placeholders.
798
- *
799
- * @see [percent-placeholder-pattern](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/percent-placeholder-pattern)
800
- */
801
- 'scss/percent-placeholder-pattern': PercentPlaceholderPatternOptions
802
-
803
- /**
804
- * Require or disallow nesting of combinators in selectors
805
- *
806
- * @see [selector-nest-combinators](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/selector-nest-combinators)
807
- */
808
- 'scss/selector-nest-combinators': SelectorNestCombinatorsOptions
809
-
810
- /**
811
- * Disallow unknown properties. Should be used instead of Stylelint's [property-no-unknown](https://stylelint.io/user-guide/rules/property-no-unknown).
812
- *
813
- * This rule considers properties defined in the [CSS Specifications and browser specific properties](https://github.com/betit/known-css-properties#source) to be known.
814
- *
815
- * This rule ignores:
816
- *
817
- * - variables (`$sass`, `@less`, `--custom-property`)
818
- * - vendor-prefixed properties (e.g., `-moz-align-self`, `-webkit-align-self`)
819
- *
820
- * Use option `checkPrefixed` described below to turn on checking of vendor-prefixed properties.
821
- *
822
- * @see [property-no-unknown](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/property-no-unknown)
823
- */
824
- 'scss/property-no-unknown': PropertyNoUnknownOptions
825
-
826
- /**
827
- * Disallow redundant nesting selectors (`&`).
828
- *
829
- * @see [selector-no-redundant-nesting-selector](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/selector-no-redundant-nesting-selector)
830
- */
831
- 'scss/selector-no-redundant-nesting-selector': SelectorNoRedundantNestingSelectorOptions
832
-
833
- /**
834
- * Disallow union class names with the parent selector (`&`).
835
- *
836
- * @see [selector-no-union-class-name](https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/selector-no-union-class-name)
837
- */
838
- 'scss/selector-no-union-class-name': SelectorNoUnionClassNameOptions
839
- }