@stylelint-types/stylelint-scss 6.1.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 +15 -14
- 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-blacklist.d.ts +0 -3
- 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-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/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/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 -11
- 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 -750
package/lib/index.js
ADDED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylelint-types/stylelint-scss",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.
|
|
5
|
-
"packageManager": "pnpm@8.15.3",
|
|
4
|
+
"version": "6.11.0",
|
|
6
5
|
"description": "TypeScript definitions for stylelint-define-config",
|
|
7
6
|
"author": "pengzhanbo <volodymyr@foxmail.com> (https://github.com/pengzhanbo)",
|
|
8
7
|
"license": "MIT",
|
|
@@ -30,17 +29,16 @@
|
|
|
30
29
|
},
|
|
31
30
|
"./types": {
|
|
32
31
|
"types": "./lib/types.d.ts"
|
|
33
|
-
}
|
|
34
|
-
"./package.json": "./package.json"
|
|
32
|
+
}
|
|
35
33
|
},
|
|
36
|
-
"main": "lib/index.
|
|
34
|
+
"main": "lib/index.js",
|
|
37
35
|
"files": [
|
|
38
36
|
"lib"
|
|
39
37
|
],
|
|
40
38
|
"engines": {
|
|
41
39
|
"node": ">=18.0.0",
|
|
42
40
|
"npm": ">=9.0.0",
|
|
43
|
-
"pnpm": ">=8.
|
|
41
|
+
"pnpm": ">=8.0.0"
|
|
44
42
|
},
|
|
45
43
|
"peerDependencies": {
|
|
46
44
|
"stylelint": ">=16.0.0",
|
|
@@ -52,17 +50,20 @@
|
|
|
52
50
|
}
|
|
53
51
|
},
|
|
54
52
|
"devDependencies": {
|
|
55
|
-
"@pengzhanbo/eslint-config": "^1.
|
|
56
|
-
"bumpp": "^
|
|
57
|
-
"conventional-changelog-cli": "^
|
|
58
|
-
"eslint": "^
|
|
59
|
-
"stylelint": "^16.
|
|
60
|
-
"stylelint-define-config": "^
|
|
61
|
-
"stylelint-scss": "^6.1
|
|
62
|
-
"
|
|
53
|
+
"@pengzhanbo/eslint-config": "^1.29.0",
|
|
54
|
+
"bumpp": "^10.1.0",
|
|
55
|
+
"conventional-changelog-cli": "^5.0.0",
|
|
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"
|
|
63
62
|
},
|
|
64
63
|
"scripts": {
|
|
65
64
|
"lint": "eslint .",
|
|
65
|
+
"build": "tsup",
|
|
66
|
+
"prepublish": "pnpm lint && pnpm build",
|
|
66
67
|
"release:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
67
68
|
"release": "bumpp package.json --execute=\"pnpm release:changelog\" --commit --all --push --tag && pnpm publish --access public"
|
|
68
69
|
}
|
|
@@ -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,11 +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
|
-
ignoreSelectors?: (string | RegExp)[]
|
|
8
|
-
ignoreAtRules?: (AtRules | RegExpLike)[]
|
|
9
|
-
checkPrefixed?: boolean
|
|
10
|
-
}
|
|
11
|
-
>
|