@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.
- package/README.md +1 -1
- package/lib/index.d.ts +1086 -5
- package/lib/index.js +0 -0
- package/package.json +14 -12
- package/lib/rules/at-each-key-value-single-line.d.ts +0 -3
- package/lib/rules/at-else-closing-brace-newline-after.d.ts +0 -8
- package/lib/rules/at-else-closing-brace-space-after.d.ts +0 -5
- package/lib/rules/at-else-empty-line-before.d.ts +0 -5
- package/lib/rules/at-else-if-parentheses-space-before.d.ts +0 -5
- package/lib/rules/at-extend-no-missing-placeholder.d.ts +0 -5
- package/lib/rules/at-function-named-arguments.d.ts +0 -12
- package/lib/rules/at-function-parentheses-space-before.d.ts +0 -5
- package/lib/rules/at-function-pattern.d.ts +0 -3
- package/lib/rules/at-if-closing-brace-newline-after.d.ts +0 -5
- package/lib/rules/at-if-closing-brace-space-after.d.ts +0 -5
- package/lib/rules/at-if-no-null.d.ts +0 -5
- package/lib/rules/at-import-no-partial-leading-underscore.d.ts +0 -3
- package/lib/rules/at-import-partial-extension-allowed-list.d.ts +0 -5
- package/lib/rules/at-import-partial-extension-blacklist.d.ts +0 -3
- package/lib/rules/at-import-partial-extension-disallowed-list.d.ts +0 -5
- package/lib/rules/at-import-partial-extension-whitelist.d.ts +0 -5
- package/lib/rules/at-import-partial-extension.d.ts +0 -5
- package/lib/rules/at-mixin-argumentless-call-parentheses.d.ts +0 -5
- package/lib/rules/at-mixin-named-arguments.d.ts +0 -5
- package/lib/rules/at-mixin-no-risky-nesting-selector.d.ts +0 -3
- package/lib/rules/at-mixin-parentheses-space-before.d.ts +0 -5
- package/lib/rules/at-mixin-pattern.d.ts +0 -5
- package/lib/rules/at-root-no-redundant.d.ts +0 -3
- package/lib/rules/at-rule-conditional-no-parentheses.d.ts +0 -3
- package/lib/rules/at-rule-no-unknown.d.ts +0 -8
- package/lib/rules/at-use-no-redundant-alias.d.ts +0 -3
- package/lib/rules/at-use-no-unnamespaced.d.ts +0 -3
- package/lib/rules/block-no-redundant-nesting.d.ts +0 -3
- package/lib/rules/comment-no-empty.d.ts +0 -3
- package/lib/rules/comment-no-loud.d.ts +0 -3
- package/lib/rules/declaration-nested-properties-no-divided-groups.d.ts +0 -3
- package/lib/rules/declaration-nested-properties.d.ts +0 -5
- package/lib/rules/declaration-property-value-no-unknown.d.ts +0 -31
- package/lib/rules/dimension-no-non-numeric-values.d.ts +0 -3
- package/lib/rules/dollar-variable-colon-newline-after.d.ts +0 -5
- package/lib/rules/dollar-variable-colon-space-after.d.ts +0 -5
- package/lib/rules/dollar-variable-colon-space-before.d.ts +0 -5
- package/lib/rules/dollar-variable-default.d.ts +0 -8
- package/lib/rules/dollar-variable-empty-line-after.d.ts +0 -16
- package/lib/rules/dollar-variable-empty-line-before.d.ts +0 -16
- package/lib/rules/dollar-variable-first-in-block.d.ts +0 -9
- package/lib/rules/dollar-variable-no-missing-interpolation.d.ts +0 -3
- package/lib/rules/dollar-variable-no-namespaced-assignment.d.ts +0 -3
- package/lib/rules/dollar-variable-pattern.d.ts +0 -8
- package/lib/rules/double-slash-comment-empty-line-before.d.ts +0 -9
- package/lib/rules/double-slash-comment-inline.d.ts +0 -8
- package/lib/rules/double-slash-comment-whitespace-inside.d.ts +0 -5
- package/lib/rules/function-calculation-no-interpolation.d.ts +0 -3
- package/lib/rules/function-color-relative.d.ts +0 -3
- package/lib/rules/function-disallowed-list.d.ts +0 -5
- package/lib/rules/function-no-unknown.d.ts +0 -8
- package/lib/rules/function-quote-no-quoted-strings-inside.d.ts +0 -3
- package/lib/rules/function-unquote-no-unquoted-strings-inside.d.ts +0 -3
- package/lib/rules/load-no-partial-leading-underscore.d.ts +0 -3
- package/lib/rules/load-partial-extension.d.ts +0 -5
- package/lib/rules/map-keys-quotes.d.ts +0 -5
- package/lib/rules/media-feature-value-dollar-variable.d.ts +0 -8
- package/lib/rules/no-dollar-variables.d.ts +0 -3
- package/lib/rules/no-duplicate-dollar-variables.d.ts +0 -8
- package/lib/rules/no-duplicate-mixins.d.ts +0 -3
- package/lib/rules/no-global-function-names.d.ts +0 -3
- package/lib/rules/no-unused-private-members.d.ts +0 -3
- package/lib/rules/operator-no-newline-after.d.ts +0 -3
- package/lib/rules/operator-no-newline-before.d.ts +0 -3
- package/lib/rules/operator-no-unspaced.d.ts +0 -3
- package/lib/rules/partial-no-import.d.ts +0 -3
- package/lib/rules/percent-placeholder-pattern.d.ts +0 -5
- package/lib/rules/property-no-unknown.d.ts +0 -21
- package/lib/rules/selector-nest-combinators.d.ts +0 -5
- package/lib/rules/selector-no-redundant-nesting-selector.d.ts +0 -8
- package/lib/rules/selector-no-union-class-name.d.ts +0 -3
- package/lib/types.d.ts +0 -839
package/lib/index.js
ADDED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylelint-types/stylelint-scss",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.11.0",
|
|
5
5
|
"description": "TypeScript definitions for stylelint-define-config",
|
|
6
6
|
"author": "pengzhanbo <volodymyr@foxmail.com> (https://github.com/pengzhanbo)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,17 +29,16 @@
|
|
|
29
29
|
},
|
|
30
30
|
"./types": {
|
|
31
31
|
"types": "./lib/types.d.ts"
|
|
32
|
-
}
|
|
33
|
-
"./package.json": "./package.json"
|
|
32
|
+
}
|
|
34
33
|
},
|
|
35
|
-
"main": "lib/index.
|
|
34
|
+
"main": "lib/index.js",
|
|
36
35
|
"files": [
|
|
37
36
|
"lib"
|
|
38
37
|
],
|
|
39
38
|
"engines": {
|
|
40
39
|
"node": ">=18.0.0",
|
|
41
40
|
"npm": ">=9.0.0",
|
|
42
|
-
"pnpm": ">=8.
|
|
41
|
+
"pnpm": ">=8.0.0"
|
|
43
42
|
},
|
|
44
43
|
"peerDependencies": {
|
|
45
44
|
"stylelint": ">=16.0.0",
|
|
@@ -51,17 +50,20 @@
|
|
|
51
50
|
}
|
|
52
51
|
},
|
|
53
52
|
"devDependencies": {
|
|
54
|
-
"@pengzhanbo/eslint-config": "^1.
|
|
55
|
-
"bumpp": "^
|
|
53
|
+
"@pengzhanbo/eslint-config": "^1.29.0",
|
|
54
|
+
"bumpp": "^10.1.0",
|
|
56
55
|
"conventional-changelog-cli": "^5.0.0",
|
|
57
|
-
"eslint": "^9.
|
|
58
|
-
"stylelint": "^16.
|
|
59
|
-
"stylelint-define-config": "^
|
|
60
|
-
"stylelint-scss": "^6.
|
|
61
|
-
"
|
|
56
|
+
"eslint": "^9.24.0",
|
|
57
|
+
"stylelint": "^16.18.0",
|
|
58
|
+
"stylelint-define-config": "^16.18.0",
|
|
59
|
+
"stylelint-scss": "^6.11.1",
|
|
60
|
+
"tsup": "^8.4.0",
|
|
61
|
+
"typescript": "^5.8.3"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"lint": "eslint .",
|
|
65
|
+
"build": "tsup",
|
|
66
|
+
"prepublish": "pnpm lint && pnpm build",
|
|
65
67
|
"release:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
66
68
|
"release": "bumpp package.json --execute=\"pnpm release:changelog\" --commit --all --push --tag && pnpm publish --access public"
|
|
67
69
|
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { CSSPropertiesMap, RuleConfig } from 'stylelint-define-config'
|
|
2
|
-
|
|
3
|
-
export type DeclarationPropertyValueNoUnknownOptions = RuleConfig<
|
|
4
|
-
true,
|
|
5
|
-
{
|
|
6
|
-
/**
|
|
7
|
-
* Ignore the specified property and value pairs.
|
|
8
|
-
* Keys in the object indicate property names.
|
|
9
|
-
* If a string in the object is surrounded with `"/"`,
|
|
10
|
-
* it's interpreted as a regular expression.
|
|
11
|
-
*
|
|
12
|
-
* For example, `"/.+/"` matches any strings.
|
|
13
|
-
*/
|
|
14
|
-
ignoreProperties?: Record<CSSPropertiesMap, (string | RegExp)[] | string | RegExp>
|
|
15
|
-
/**
|
|
16
|
-
* Extend or alter the properties syntax dictionary.
|
|
17
|
-
* [CSS Value Definition Syntax](https://github.com/csstree/csstree/blob/master/docs/definition-syntax.md) is used to define a value's syntax.
|
|
18
|
-
* If a definition starts with `|` it is added to the [existing definition value](https://csstree.github.io/docs/syntax/) if any.
|
|
19
|
-
*/
|
|
20
|
-
propertiesSyntax?: Record<CSSPropertiesMap, string>
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Extend or alter the types syntax dictionary.
|
|
24
|
-
* [CSS Value Definition Syntax](https://github.com/csstree/csstree/blob/master/docs/definition-syntax.md) is used to define a value's syntax.
|
|
25
|
-
* If a definition starts with `|` it is added to the [existing definition value](https://csstree.github.io/docs/syntax/) if any.
|
|
26
|
-
*
|
|
27
|
-
* Types are something like a preset which allows you to reuse a definition across other definitions. So, you'll likely want to also use the `propertiesSyntax` option when using this option.
|
|
28
|
-
*/
|
|
29
|
-
typesSyntax?: Record<string, string>
|
|
30
|
-
}
|
|
31
|
-
>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { RuleConfig } from 'stylelint-define-config'
|
|
2
|
-
|
|
3
|
-
export type DollarVariableEmptyLineAfterExcept = 'last-nested' | 'before-comment' | 'before-dollar-variable'
|
|
4
|
-
|
|
5
|
-
export type DollarVariableEmptyLineAfterIgnore = 'before-comment' | 'inside-single-line-block'
|
|
6
|
-
|
|
7
|
-
export interface DollarVariableEmptyLineAfterSecondaryOptions {
|
|
8
|
-
except?: DollarVariableEmptyLineAfterExcept[]
|
|
9
|
-
ignore?: DollarVariableEmptyLineAfterIgnore[]
|
|
10
|
-
disableFix?: boolean
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type DollarVariableEmptyLineAfterOptions = RuleConfig<
|
|
14
|
-
'always' | 'never',
|
|
15
|
-
DollarVariableEmptyLineAfterSecondaryOptions
|
|
16
|
-
>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { RuleConfig } from 'stylelint-define-config'
|
|
2
|
-
|
|
3
|
-
export type DollarVariableEmptyLineBeforeExcept = 'first-nested' | 'after-comment' | 'after-dollar-variable'
|
|
4
|
-
|
|
5
|
-
export type DollarVariableEmptyLineBeforeIgnore = 'after-comment' | 'inside-single-line-block' | 'after-dollar-variable'
|
|
6
|
-
|
|
7
|
-
export interface DollarVariableEmptyLineBeforeSecondaryOptions {
|
|
8
|
-
except?: DollarVariableEmptyLineBeforeExcept[]
|
|
9
|
-
ignore?: DollarVariableEmptyLineBeforeIgnore[]
|
|
10
|
-
disableFix?: boolean
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type DollarVariableEmptyLineBeforeOptions = RuleConfig<
|
|
14
|
-
'always' | 'never',
|
|
15
|
-
DollarVariableEmptyLineBeforeSecondaryOptions
|
|
16
|
-
>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { RuleConfig } from 'stylelint-define-config'
|
|
2
|
-
|
|
3
|
-
export type DoubleSlashCommentEmptyLineBeforeOptions = RuleConfig<
|
|
4
|
-
'always' | 'never',
|
|
5
|
-
{
|
|
6
|
-
except?: ('first-nested' | 'inside-block')[]
|
|
7
|
-
ignore?: ('between-comments' | 'stylelint-commands' | 'inside-block')[]
|
|
8
|
-
}
|
|
9
|
-
>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { AtRules, RegExpLike, RuleConfig } from 'stylelint-define-config'
|
|
2
|
-
|
|
3
|
-
export type PropertyNoUnknownOptions = RuleConfig<
|
|
4
|
-
true,
|
|
5
|
-
{
|
|
6
|
-
ignoreProperties?: (string | RegExp)[]
|
|
7
|
-
/**
|
|
8
|
-
* Skips checking properties of the given selectors against this rule.
|
|
9
|
-
*/
|
|
10
|
-
ignoreSelectors?: (string | RegExp)[]
|
|
11
|
-
/**
|
|
12
|
-
* Ignores properties nested within specified at-rules.
|
|
13
|
-
*/
|
|
14
|
-
ignoreAtRules?: (AtRules | RegExpLike)[]
|
|
15
|
-
/**
|
|
16
|
-
* If `true`, this rule will check vendor-prefixed properties.
|
|
17
|
-
* @default false
|
|
18
|
-
*/
|
|
19
|
-
checkPrefixed?: boolean
|
|
20
|
-
}
|
|
21
|
-
>
|