@dt-frames/stylelint-config 3.0.1 → 4.0.2

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/package.json CHANGED
@@ -1,40 +1,44 @@
1
- {
2
- "name": "@dt-frames/stylelint-config",
3
- "version": "3.0.1",
4
- "description": "关于样式格式化的配置封装",
5
- "license": "ISC",
6
- "author": "",
7
- "exports": {
8
- ".": {
9
- "types": "./dist/index.d.ts",
10
- "import": "./dist/index.mjs",
11
- "require": "./dist/index.cjs"
12
- }
13
- },
14
- "main": "./dist/index.cjs",
15
- "module": "./dist/index.mjs",
16
- "types": "./dist/index.d.ts",
17
- "keywords": [
18
- "dt-frames",
19
- "stylelint-config"
20
- ],
21
- "files": [
22
- "dist"
23
- ],
24
- "publishConfig": {
25
- "access": "public",
26
- "registry": "https://registry.npmjs.org/"
27
- },
28
- "scripts": {
29
- "build": "pnpm unbuild"
30
- },
31
- "dependencies": {
32
- "stylelint": "^15.10.2",
33
- "stylelint-config-html": "^1.1.0",
34
- "stylelint-config-prettier": "^9.0.5",
35
- "stylelint-config-recess-order": "^4.3.0",
36
- "stylelint-config-recommended-vue": "^1.5.0",
37
- "stylelint-config-standard": "^34.0.0",
38
- "stylelint-config-standard-scss": "^10.0.0"
39
- }
40
- }
1
+ {
2
+ "name": "@dt-frames/stylelint-config",
3
+ "version": "4.0.2",
4
+ "description": "关于样式格式化的配置封装",
5
+ "license": "ISC",
6
+ "author": "",
7
+ "exports": {
8
+ ".": {
9
+ "default": "./index.mjs",
10
+ "import": "./index.mjs"
11
+ }
12
+ },
13
+ "main": "./index.mjs",
14
+ "module": "./index.mjs",
15
+ "keywords": [
16
+ "dt-frames",
17
+ "stylelint-config"
18
+ ],
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "publishConfig": {
23
+ "access": "public",
24
+ "registry": "https://registry.npmjs.org/"
25
+ },
26
+ "scripts": {
27
+ "build": "pnpm unbuild"
28
+ },
29
+ "devDependencies": {
30
+ "postcss-html": "^1.8.0",
31
+ "postcss-scss": "^4.0.9",
32
+ "prettier": "^3.5.3",
33
+ "stylelint": "^16.23.1",
34
+ "stylelint-config-recommended": "^17.0.0",
35
+ "stylelint-config-recommended-scss": "^16.0.0",
36
+ "stylelint-order": "^7.0.0",
37
+ "stylelint-prettier": "^5.0.3"
38
+ },
39
+ "dependencies": {
40
+ "@stylistic/stylelint-plugin": "^4.0.0",
41
+ "stylelint-config-recess-order": "^7.3.0",
42
+ "stylelint-scss": "^6.12.1"
43
+ }
44
+ }
package/dist/index.cjs DELETED
@@ -1,58 +0,0 @@
1
- 'use strict';
2
-
3
- const index = {
4
- extends: [
5
- "stylelint-config-standard",
6
- // 配置vue中template样式格式化
7
- "stylelint-config-html/vue",
8
- // stylelint scss插件
9
- "stylelint-config-standard-scss",
10
- // 配置vue中的scss样式格式化
11
- "stylelint-config-recommended-vue/scss",
12
- // css书写顺序
13
- "stylelint-config-recess-order",
14
- // 配置style与prettier的兼容
15
- "stylelint-config-prettier"
16
- ],
17
- overrides: [
18
- {
19
- files: ["**/*.(scss|css|vue|html)"],
20
- customSyntax: "postcss-scss"
21
- },
22
- {
23
- files: ["**/*.(html|vue)"],
24
- customSyntax: "postcss-html"
25
- }
26
- ],
27
- ignoreFiles: ["**/*.js", "**/*.jsx", "**/*.tsx", "**/*.ts", "**/*.json", "**/*.md", "**/*.yaml"],
28
- rules: {
29
- // 在css中使用v-bind不报错
30
- "value-keyword-case": null,
31
- // 禁止在较高优先级的选择器后面出现被其覆盖的较低优先级的选择器
32
- "no-descending-specificity": null,
33
- // url的引号必须有
34
- "function-url-quotes": "always",
35
- // 关闭禁止空源码
36
- "no-empty-source": null,
37
- // 关闭强制选择器类名的格式
38
- "selector-class-pattern": null,
39
- // 禁止未知的属性
40
- "property-no-unknown": true,
41
- // 关闭属性前缀 --webkit-box
42
- "value-no-vendor-prefix": null,
43
- "property-no-vendor-prefix": null,
44
- // 使用单引号
45
- "string-quotes": "single",
46
- // 深度嵌套
47
- "max-nesting-depth": 5,
48
- "selector-pseudo-class-no-unknown": [
49
- true,
50
- {
51
- ignorePseudoClasses: ["global", ":deep"]
52
- // 忽略属性
53
- }
54
- ]
55
- }
56
- };
57
-
58
- module.exports = index;
package/dist/index.d.ts DELETED
@@ -1,25 +0,0 @@
1
- declare const _default: {
2
- extends: string[];
3
- overrides: {
4
- files: string[];
5
- customSyntax: string;
6
- }[];
7
- ignoreFiles: string[];
8
- rules: {
9
- 'value-keyword-case': any;
10
- 'no-descending-specificity': any;
11
- 'function-url-quotes': string;
12
- 'no-empty-source': any;
13
- 'selector-class-pattern': any;
14
- 'property-no-unknown': boolean;
15
- 'value-no-vendor-prefix': any;
16
- 'property-no-vendor-prefix': any;
17
- 'string-quotes': string;
18
- 'max-nesting-depth': number;
19
- 'selector-pseudo-class-no-unknown': (boolean | {
20
- ignorePseudoClasses: string[];
21
- })[];
22
- };
23
- };
24
-
25
- export { _default as default };
package/dist/index.mjs DELETED
@@ -1,56 +0,0 @@
1
- const index = {
2
- extends: [
3
- "stylelint-config-standard",
4
- // 配置vue中template样式格式化
5
- "stylelint-config-html/vue",
6
- // stylelint scss插件
7
- "stylelint-config-standard-scss",
8
- // 配置vue中的scss样式格式化
9
- "stylelint-config-recommended-vue/scss",
10
- // css书写顺序
11
- "stylelint-config-recess-order",
12
- // 配置style与prettier的兼容
13
- "stylelint-config-prettier"
14
- ],
15
- overrides: [
16
- {
17
- files: ["**/*.(scss|css|vue|html)"],
18
- customSyntax: "postcss-scss"
19
- },
20
- {
21
- files: ["**/*.(html|vue)"],
22
- customSyntax: "postcss-html"
23
- }
24
- ],
25
- ignoreFiles: ["**/*.js", "**/*.jsx", "**/*.tsx", "**/*.ts", "**/*.json", "**/*.md", "**/*.yaml"],
26
- rules: {
27
- // 在css中使用v-bind不报错
28
- "value-keyword-case": null,
29
- // 禁止在较高优先级的选择器后面出现被其覆盖的较低优先级的选择器
30
- "no-descending-specificity": null,
31
- // url的引号必须有
32
- "function-url-quotes": "always",
33
- // 关闭禁止空源码
34
- "no-empty-source": null,
35
- // 关闭强制选择器类名的格式
36
- "selector-class-pattern": null,
37
- // 禁止未知的属性
38
- "property-no-unknown": true,
39
- // 关闭属性前缀 --webkit-box
40
- "value-no-vendor-prefix": null,
41
- "property-no-vendor-prefix": null,
42
- // 使用单引号
43
- "string-quotes": "single",
44
- // 深度嵌套
45
- "max-nesting-depth": 5,
46
- "selector-pseudo-class-no-unknown": [
47
- true,
48
- {
49
- ignorePseudoClasses: ["global", ":deep"]
50
- // 忽略属性
51
- }
52
- ]
53
- }
54
- };
55
-
56
- export { index as default };