@flarian/frontend-preset 1.3.0 → 1.3.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/README.md +36 -2
- package/dist/eslint/config/all.cjs +5 -5
- package/dist/eslint/config/all.d.cts +7 -7
- package/dist/eslint/config/all.d.mts +7 -7
- package/dist/eslint/config/all.d.ts +7 -7
- package/dist/eslint/config/all.mjs +8 -8
- package/dist/eslint/config/base.cjs +7 -3
- package/dist/eslint/config/base.d.cts +1 -1
- package/dist/eslint/config/base.d.mts +1 -1
- package/dist/eslint/config/base.d.ts +1 -1
- package/dist/eslint/config/base.mjs +7 -3
- package/dist/eslint/config/imports.cjs +1 -1
- package/dist/eslint/config/imports.d.cts +1 -1
- package/dist/eslint/config/imports.d.mts +1 -1
- package/dist/eslint/config/imports.d.ts +1 -1
- package/dist/eslint/config/imports.mjs +1 -1
- package/dist/eslint/config/json.cjs +1 -1
- package/dist/eslint/config/json.d.cts +1 -1
- package/dist/eslint/config/json.d.mts +1 -1
- package/dist/eslint/config/json.d.ts +1 -1
- package/dist/eslint/config/json.mjs +1 -1
- package/dist/eslint/config/jsx.cjs +1 -1
- package/dist/eslint/config/jsx.d.cts +1 -1
- package/dist/eslint/config/jsx.d.mts +1 -1
- package/dist/eslint/config/jsx.d.ts +1 -1
- package/dist/eslint/config/jsx.mjs +1 -1
- package/dist/eslint/config/prettier.cjs +2 -2
- package/dist/eslint/config/prettier.d.cts +1 -1
- package/dist/eslint/config/prettier.d.mts +1 -1
- package/dist/eslint/config/prettier.d.ts +1 -1
- package/dist/eslint/config/prettier.mjs +2 -2
- package/dist/eslint/config/react.cjs +1 -1
- package/dist/eslint/config/react.d.cts +1 -1
- package/dist/eslint/config/react.d.mts +1 -1
- package/dist/eslint/config/react.d.ts +1 -1
- package/dist/eslint/config/react.mjs +1 -1
- package/dist/eslint/config/vue.cjs +2 -1
- package/dist/eslint/config/vue.d.cts +1 -1
- package/dist/eslint/config/vue.d.mts +1 -1
- package/dist/eslint/config/vue.d.ts +1 -1
- package/dist/eslint/config/vue.mjs +2 -1
- package/dist/eslint/index.cjs +8 -8
- package/dist/eslint/index.d.cts +8 -8
- package/dist/eslint/index.d.mts +8 -8
- package/dist/eslint/index.d.ts +8 -8
- package/dist/eslint/index.mjs +8 -8
- package/dist/index.cjs +4 -3
- package/dist/index.d.cts +4 -3
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.mjs +4 -3
- package/dist/prettier/config/all.cjs +6 -6
- package/dist/prettier/config/all.d.cts +36 -3
- package/dist/prettier/config/all.d.mts +36 -3
- package/dist/prettier/config/all.d.ts +36 -3
- package/dist/prettier/config/all.mjs +6 -6
- package/dist/prettier/config/base.cjs +1 -1
- package/dist/prettier/config/base.d.cts +1 -1
- package/dist/prettier/config/base.d.mts +1 -1
- package/dist/prettier/config/base.d.ts +1 -1
- package/dist/prettier/config/base.mjs +1 -1
- package/dist/prettier/config/pug.cjs +1 -1
- package/dist/prettier/config/pug.d.cts +1 -1
- package/dist/prettier/config/pug.d.mts +1 -1
- package/dist/prettier/config/pug.d.ts +1 -1
- package/dist/prettier/config/pug.mjs +1 -1
- package/dist/prettier/config/vue.cjs +1 -1
- package/dist/prettier/config/vue.d.cts +1 -1
- package/dist/prettier/config/vue.d.mts +1 -1
- package/dist/prettier/config/vue.d.ts +1 -1
- package/dist/prettier/config/vue.mjs +1 -1
- package/dist/prettier/config/yml.cjs +1 -1
- package/dist/prettier/config/yml.d.cts +1 -1
- package/dist/prettier/config/yml.d.mts +1 -1
- package/dist/prettier/config/yml.d.ts +1 -1
- package/dist/prettier/config/yml.mjs +1 -1
- package/dist/prettier/index.cjs +5 -5
- package/dist/prettier/index.d.cts +5 -5
- package/dist/prettier/index.d.mts +5 -5
- package/dist/prettier/index.d.ts +5 -5
- package/dist/prettier/index.mjs +5 -5
- package/dist/shared/frontend-preset.95FKUpmG.mjs +12 -0
- package/dist/shared/frontend-preset.BCCY-cfn.d.ts +22 -0
- package/dist/shared/frontend-preset.BGsd47Ct.d.mts +31 -0
- package/dist/shared/{frontend-preset.DwWnly25.cjs → frontend-preset.BH-HOAaq.cjs} +3 -3
- package/dist/shared/frontend-preset.BIs-w0C8.d.ts +16 -0
- package/dist/shared/frontend-preset.BJdJCa-t.d.ts +31 -0
- package/dist/shared/{frontend-preset.BPbLrmoT.cjs → frontend-preset.BeQLBkOj.cjs} +8 -8
- package/dist/shared/frontend-preset.Bfe6Dlal.d.mts +22 -0
- package/dist/shared/frontend-preset.Byc0_f39.d.cts +31 -0
- package/dist/shared/{frontend-preset.rpaOq_Gx.cjs → frontend-preset.D424bicL.cjs} +5 -5
- package/dist/shared/frontend-preset.DIpRniQQ.mjs +22 -0
- package/dist/shared/frontend-preset.Dz9eyMNC.d.cts +16 -0
- package/dist/shared/frontend-preset.WrSW9IWu.d.cts +22 -0
- package/dist/shared/frontend-preset.boYPITmk.mjs +16 -0
- package/dist/shared/frontend-preset.ub5JUkCJ.d.mts +16 -0
- package/dist/stylelint/config/all.cjs +3 -2
- package/dist/stylelint/config/all.d.cts +6 -92
- package/dist/stylelint/config/all.d.mts +6 -92
- package/dist/stylelint/config/all.d.ts +6 -92
- package/dist/stylelint/config/all.mjs +5 -4
- package/dist/stylelint/config/less.cjs +15 -3
- package/dist/stylelint/config/less.d.cts +4 -46
- package/dist/stylelint/config/less.d.mts +4 -46
- package/dist/stylelint/config/less.d.ts +4 -46
- package/dist/stylelint/config/less.mjs +14 -3
- package/dist/stylelint/config/scss.cjs +15 -3
- package/dist/stylelint/config/scss.d.cts +4 -46
- package/dist/stylelint/config/scss.d.mts +4 -46
- package/dist/stylelint/config/scss.d.ts +4 -46
- package/dist/stylelint/config/scss.mjs +14 -3
- package/dist/stylelint/index.cjs +4 -3
- package/dist/stylelint/index.d.cts +4 -3
- package/dist/stylelint/index.d.mts +4 -3
- package/dist/stylelint/index.d.ts +4 -3
- package/dist/stylelint/index.mjs +4 -3
- package/package.json +5 -3
- package/dist/shared/frontend-preset.0jMq7xRp.d.cts +0 -13
- package/dist/shared/frontend-preset.BOIuEWn5.d.cts +0 -23
- package/dist/shared/frontend-preset.BUZTYmRm.d.mts +0 -17
- package/dist/shared/frontend-preset.BqEaWEKy.d.cts +0 -17
- package/dist/shared/frontend-preset.CpuXgM2m.d.ts +0 -17
- package/dist/shared/frontend-preset.CtWMCAnj.d.ts +0 -23
- package/dist/shared/frontend-preset.DFe94ri5.mjs +0 -12
- package/dist/shared/frontend-preset.DdT5rVxR.mjs +0 -16
- package/dist/shared/frontend-preset.DrUk0z26.mjs +0 -22
- package/dist/shared/frontend-preset.LUquEVxB.d.ts +0 -13
- package/dist/shared/frontend-preset.XIsgQ85Y.d.mts +0 -23
- package/dist/shared/frontend-preset.bJz2J5gD.d.mts +0 -13
|
@@ -8,11 +8,11 @@ const prettier_config_yml = require('../prettier/config/yml.cjs');
|
|
|
8
8
|
|
|
9
9
|
const index = {
|
|
10
10
|
__proto__: null,
|
|
11
|
-
all: prettier_config_all,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
all: prettier_config_all.all,
|
|
12
|
+
baseConfig: prettier_config_base.baseConfig,
|
|
13
|
+
pugConfig: prettier_config_pug.pugConfig,
|
|
14
|
+
vueConfig: prettier_config_vue.vueConfig,
|
|
15
|
+
ymlConfig: prettier_config_yml.ymlConfig
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
exports.index = index;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { all } from '../eslint/config/all.mjs';
|
|
2
|
+
import { baseConfig } from '../eslint/config/base.mjs';
|
|
3
|
+
import { importsConfig } from '../eslint/config/imports.mjs';
|
|
4
|
+
import { jsonConfig } from '../eslint/config/json.mjs';
|
|
5
|
+
import { jsxConfig } from '../eslint/config/jsx.mjs';
|
|
6
|
+
import { prettierConfig } from '../eslint/config/prettier.mjs';
|
|
7
|
+
import { reactConfig } from '../eslint/config/react.mjs';
|
|
8
|
+
import { vueConfig } from '../eslint/config/vue.mjs';
|
|
9
|
+
|
|
10
|
+
const index = {
|
|
11
|
+
__proto__: null,
|
|
12
|
+
all: all,
|
|
13
|
+
baseConfig: baseConfig,
|
|
14
|
+
importsConfig: importsConfig,
|
|
15
|
+
jsonConfig: jsonConfig,
|
|
16
|
+
jsxConfig: jsxConfig,
|
|
17
|
+
prettierConfig: prettierConfig,
|
|
18
|
+
reactConfig: reactConfig,
|
|
19
|
+
vueConfig: vueConfig
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { index as i };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { all } from '../stylelint/config/all.cjs';
|
|
2
|
+
import { lessConfig } from '../stylelint/config/less.cjs';
|
|
3
|
+
import { scssConfig } from '../stylelint/config/scss.cjs';
|
|
4
|
+
|
|
5
|
+
declare const index_all: typeof all;
|
|
6
|
+
declare const index_lessConfig: typeof lessConfig;
|
|
7
|
+
declare const index_scssConfig: typeof scssConfig;
|
|
8
|
+
declare namespace index {
|
|
9
|
+
export {
|
|
10
|
+
index_all as all,
|
|
11
|
+
index_lessConfig as lessConfig,
|
|
12
|
+
index_scssConfig as scssConfig,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { index as i };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { all } from '../prettier/config/all.cjs';
|
|
2
|
+
import { baseConfig } from '../prettier/config/base.cjs';
|
|
3
|
+
import { pugConfig } from '../prettier/config/pug.cjs';
|
|
4
|
+
import { vueConfig } from '../prettier/config/vue.cjs';
|
|
5
|
+
import { ymlConfig } from '../prettier/config/yml.cjs';
|
|
6
|
+
|
|
7
|
+
declare const index_all: typeof all;
|
|
8
|
+
declare const index_baseConfig: typeof baseConfig;
|
|
9
|
+
declare const index_pugConfig: typeof pugConfig;
|
|
10
|
+
declare const index_vueConfig: typeof vueConfig;
|
|
11
|
+
declare const index_ymlConfig: typeof ymlConfig;
|
|
12
|
+
declare namespace index {
|
|
13
|
+
export {
|
|
14
|
+
index_all as all,
|
|
15
|
+
index_baseConfig as baseConfig,
|
|
16
|
+
index_pugConfig as pugConfig,
|
|
17
|
+
index_vueConfig as vueConfig,
|
|
18
|
+
index_ymlConfig as ymlConfig,
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { index as i };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { all } from '../prettier/config/all.mjs';
|
|
2
|
+
import { baseConfig } from '../prettier/config/base.mjs';
|
|
3
|
+
import { pugConfig } from '../prettier/config/pug.mjs';
|
|
4
|
+
import { vueConfig } from '../prettier/config/vue.mjs';
|
|
5
|
+
import { ymlConfig } from '../prettier/config/yml.mjs';
|
|
6
|
+
|
|
7
|
+
const index = {
|
|
8
|
+
__proto__: null,
|
|
9
|
+
all: all,
|
|
10
|
+
baseConfig: baseConfig,
|
|
11
|
+
pugConfig: pugConfig,
|
|
12
|
+
vueConfig: vueConfig,
|
|
13
|
+
ymlConfig: ymlConfig
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { index as i };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { all } from '../stylelint/config/all.mjs';
|
|
2
|
+
import { lessConfig } from '../stylelint/config/less.mjs';
|
|
3
|
+
import { scssConfig } from '../stylelint/config/scss.mjs';
|
|
4
|
+
|
|
5
|
+
declare const index_all: typeof all;
|
|
6
|
+
declare const index_lessConfig: typeof lessConfig;
|
|
7
|
+
declare const index_scssConfig: typeof scssConfig;
|
|
8
|
+
declare namespace index {
|
|
9
|
+
export {
|
|
10
|
+
index_all as all,
|
|
11
|
+
index_lessConfig as lessConfig,
|
|
12
|
+
index_scssConfig as scssConfig,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { index as i };
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const stylelint_config_less = require('./less.cjs');
|
|
4
4
|
const stylelint_config_scss = require('./scss.cjs');
|
|
5
|
+
require('module');
|
|
5
6
|
require('../../shared/frontend-preset.BhlqScTP.cjs');
|
|
6
7
|
|
|
7
|
-
const all = {
|
|
8
|
+
const all = { less: stylelint_config_less.lessConfig, scss: stylelint_config_scss.scssConfig };
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
exports.all = all;
|
|
@@ -1,94 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
'order/properties-order': ({
|
|
7
|
-
groupName: number;
|
|
8
|
-
emptyLineBefore: string;
|
|
9
|
-
noEmptyLineBetween: boolean;
|
|
10
|
-
properties: string[];
|
|
11
|
-
}[] | {
|
|
12
|
-
severity: string;
|
|
13
|
-
unspecified: string;
|
|
14
|
-
})[];
|
|
15
|
-
'order/order': (string | {
|
|
16
|
-
type: string;
|
|
17
|
-
name: string;
|
|
18
|
-
mixin?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
type: string;
|
|
21
|
-
mixin: boolean;
|
|
22
|
-
name?: undefined;
|
|
23
|
-
})[][];
|
|
24
|
-
'no-empty-source': (boolean | {
|
|
25
|
-
message: string;
|
|
26
|
-
})[];
|
|
27
|
-
'string-no-newline': (boolean | {
|
|
28
|
-
message: string;
|
|
29
|
-
})[];
|
|
30
|
-
'declaration-block-single-line-max-declarations': (number | {
|
|
31
|
-
message: string;
|
|
32
|
-
})[];
|
|
33
|
-
'function-name-case': (string | {
|
|
34
|
-
message: string;
|
|
35
|
-
})[];
|
|
36
|
-
'color-hex-length': (string | {
|
|
37
|
-
message: string;
|
|
38
|
-
})[];
|
|
39
|
-
'color-named': (string | {
|
|
40
|
-
message: string;
|
|
41
|
-
})[];
|
|
42
|
-
'custom-property-pattern': string;
|
|
43
|
-
'declaration-empty-line-before': null;
|
|
44
|
-
'declaration-property-value-no-unknown': null;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
scssConfig: {
|
|
48
|
-
plugins: string[];
|
|
49
|
-
extends: string[];
|
|
50
|
-
rules: {
|
|
51
|
-
'order/properties-order': ({
|
|
52
|
-
groupName: number;
|
|
53
|
-
emptyLineBefore: string;
|
|
54
|
-
noEmptyLineBetween: boolean;
|
|
55
|
-
properties: string[];
|
|
56
|
-
}[] | {
|
|
57
|
-
severity: string;
|
|
58
|
-
unspecified: string;
|
|
59
|
-
})[];
|
|
60
|
-
'order/order': (string | {
|
|
61
|
-
type: string;
|
|
62
|
-
name: string;
|
|
63
|
-
mixin?: undefined;
|
|
64
|
-
} | {
|
|
65
|
-
type: string;
|
|
66
|
-
mixin: boolean;
|
|
67
|
-
name?: undefined;
|
|
68
|
-
})[][];
|
|
69
|
-
'no-empty-source': (boolean | {
|
|
70
|
-
message: string;
|
|
71
|
-
})[];
|
|
72
|
-
'string-no-newline': (boolean | {
|
|
73
|
-
message: string;
|
|
74
|
-
})[];
|
|
75
|
-
'declaration-block-single-line-max-declarations': (number | {
|
|
76
|
-
message: string;
|
|
77
|
-
})[];
|
|
78
|
-
'function-name-case': (string | {
|
|
79
|
-
message: string;
|
|
80
|
-
})[];
|
|
81
|
-
'color-hex-length': (string | {
|
|
82
|
-
message: string;
|
|
83
|
-
})[];
|
|
84
|
-
'color-named': (string | {
|
|
85
|
-
message: string;
|
|
86
|
-
})[];
|
|
87
|
-
'custom-property-pattern': string;
|
|
88
|
-
'declaration-empty-line-before': null;
|
|
89
|
-
'declaration-property-value-no-unknown': null;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
1
|
+
import * as stylelint from 'stylelint';
|
|
2
|
+
|
|
3
|
+
declare const all: {
|
|
4
|
+
less: stylelint.Config;
|
|
5
|
+
scss: stylelint.Config;
|
|
92
6
|
};
|
|
93
7
|
|
|
94
|
-
export
|
|
8
|
+
export { all };
|
|
@@ -1,94 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
'order/properties-order': ({
|
|
7
|
-
groupName: number;
|
|
8
|
-
emptyLineBefore: string;
|
|
9
|
-
noEmptyLineBetween: boolean;
|
|
10
|
-
properties: string[];
|
|
11
|
-
}[] | {
|
|
12
|
-
severity: string;
|
|
13
|
-
unspecified: string;
|
|
14
|
-
})[];
|
|
15
|
-
'order/order': (string | {
|
|
16
|
-
type: string;
|
|
17
|
-
name: string;
|
|
18
|
-
mixin?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
type: string;
|
|
21
|
-
mixin: boolean;
|
|
22
|
-
name?: undefined;
|
|
23
|
-
})[][];
|
|
24
|
-
'no-empty-source': (boolean | {
|
|
25
|
-
message: string;
|
|
26
|
-
})[];
|
|
27
|
-
'string-no-newline': (boolean | {
|
|
28
|
-
message: string;
|
|
29
|
-
})[];
|
|
30
|
-
'declaration-block-single-line-max-declarations': (number | {
|
|
31
|
-
message: string;
|
|
32
|
-
})[];
|
|
33
|
-
'function-name-case': (string | {
|
|
34
|
-
message: string;
|
|
35
|
-
})[];
|
|
36
|
-
'color-hex-length': (string | {
|
|
37
|
-
message: string;
|
|
38
|
-
})[];
|
|
39
|
-
'color-named': (string | {
|
|
40
|
-
message: string;
|
|
41
|
-
})[];
|
|
42
|
-
'custom-property-pattern': string;
|
|
43
|
-
'declaration-empty-line-before': null;
|
|
44
|
-
'declaration-property-value-no-unknown': null;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
scssConfig: {
|
|
48
|
-
plugins: string[];
|
|
49
|
-
extends: string[];
|
|
50
|
-
rules: {
|
|
51
|
-
'order/properties-order': ({
|
|
52
|
-
groupName: number;
|
|
53
|
-
emptyLineBefore: string;
|
|
54
|
-
noEmptyLineBetween: boolean;
|
|
55
|
-
properties: string[];
|
|
56
|
-
}[] | {
|
|
57
|
-
severity: string;
|
|
58
|
-
unspecified: string;
|
|
59
|
-
})[];
|
|
60
|
-
'order/order': (string | {
|
|
61
|
-
type: string;
|
|
62
|
-
name: string;
|
|
63
|
-
mixin?: undefined;
|
|
64
|
-
} | {
|
|
65
|
-
type: string;
|
|
66
|
-
mixin: boolean;
|
|
67
|
-
name?: undefined;
|
|
68
|
-
})[][];
|
|
69
|
-
'no-empty-source': (boolean | {
|
|
70
|
-
message: string;
|
|
71
|
-
})[];
|
|
72
|
-
'string-no-newline': (boolean | {
|
|
73
|
-
message: string;
|
|
74
|
-
})[];
|
|
75
|
-
'declaration-block-single-line-max-declarations': (number | {
|
|
76
|
-
message: string;
|
|
77
|
-
})[];
|
|
78
|
-
'function-name-case': (string | {
|
|
79
|
-
message: string;
|
|
80
|
-
})[];
|
|
81
|
-
'color-hex-length': (string | {
|
|
82
|
-
message: string;
|
|
83
|
-
})[];
|
|
84
|
-
'color-named': (string | {
|
|
85
|
-
message: string;
|
|
86
|
-
})[];
|
|
87
|
-
'custom-property-pattern': string;
|
|
88
|
-
'declaration-empty-line-before': null;
|
|
89
|
-
'declaration-property-value-no-unknown': null;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
1
|
+
import * as stylelint from 'stylelint';
|
|
2
|
+
|
|
3
|
+
declare const all: {
|
|
4
|
+
less: stylelint.Config;
|
|
5
|
+
scss: stylelint.Config;
|
|
92
6
|
};
|
|
93
7
|
|
|
94
|
-
export {
|
|
8
|
+
export { all };
|
|
@@ -1,94 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
'order/properties-order': ({
|
|
7
|
-
groupName: number;
|
|
8
|
-
emptyLineBefore: string;
|
|
9
|
-
noEmptyLineBetween: boolean;
|
|
10
|
-
properties: string[];
|
|
11
|
-
}[] | {
|
|
12
|
-
severity: string;
|
|
13
|
-
unspecified: string;
|
|
14
|
-
})[];
|
|
15
|
-
'order/order': (string | {
|
|
16
|
-
type: string;
|
|
17
|
-
name: string;
|
|
18
|
-
mixin?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
type: string;
|
|
21
|
-
mixin: boolean;
|
|
22
|
-
name?: undefined;
|
|
23
|
-
})[][];
|
|
24
|
-
'no-empty-source': (boolean | {
|
|
25
|
-
message: string;
|
|
26
|
-
})[];
|
|
27
|
-
'string-no-newline': (boolean | {
|
|
28
|
-
message: string;
|
|
29
|
-
})[];
|
|
30
|
-
'declaration-block-single-line-max-declarations': (number | {
|
|
31
|
-
message: string;
|
|
32
|
-
})[];
|
|
33
|
-
'function-name-case': (string | {
|
|
34
|
-
message: string;
|
|
35
|
-
})[];
|
|
36
|
-
'color-hex-length': (string | {
|
|
37
|
-
message: string;
|
|
38
|
-
})[];
|
|
39
|
-
'color-named': (string | {
|
|
40
|
-
message: string;
|
|
41
|
-
})[];
|
|
42
|
-
'custom-property-pattern': string;
|
|
43
|
-
'declaration-empty-line-before': null;
|
|
44
|
-
'declaration-property-value-no-unknown': null;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
scssConfig: {
|
|
48
|
-
plugins: string[];
|
|
49
|
-
extends: string[];
|
|
50
|
-
rules: {
|
|
51
|
-
'order/properties-order': ({
|
|
52
|
-
groupName: number;
|
|
53
|
-
emptyLineBefore: string;
|
|
54
|
-
noEmptyLineBetween: boolean;
|
|
55
|
-
properties: string[];
|
|
56
|
-
}[] | {
|
|
57
|
-
severity: string;
|
|
58
|
-
unspecified: string;
|
|
59
|
-
})[];
|
|
60
|
-
'order/order': (string | {
|
|
61
|
-
type: string;
|
|
62
|
-
name: string;
|
|
63
|
-
mixin?: undefined;
|
|
64
|
-
} | {
|
|
65
|
-
type: string;
|
|
66
|
-
mixin: boolean;
|
|
67
|
-
name?: undefined;
|
|
68
|
-
})[][];
|
|
69
|
-
'no-empty-source': (boolean | {
|
|
70
|
-
message: string;
|
|
71
|
-
})[];
|
|
72
|
-
'string-no-newline': (boolean | {
|
|
73
|
-
message: string;
|
|
74
|
-
})[];
|
|
75
|
-
'declaration-block-single-line-max-declarations': (number | {
|
|
76
|
-
message: string;
|
|
77
|
-
})[];
|
|
78
|
-
'function-name-case': (string | {
|
|
79
|
-
message: string;
|
|
80
|
-
})[];
|
|
81
|
-
'color-hex-length': (string | {
|
|
82
|
-
message: string;
|
|
83
|
-
})[];
|
|
84
|
-
'color-named': (string | {
|
|
85
|
-
message: string;
|
|
86
|
-
})[];
|
|
87
|
-
'custom-property-pattern': string;
|
|
88
|
-
'declaration-empty-line-before': null;
|
|
89
|
-
'declaration-property-value-no-unknown': null;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
1
|
+
import * as stylelint from 'stylelint';
|
|
2
|
+
|
|
3
|
+
declare const all: {
|
|
4
|
+
less: stylelint.Config;
|
|
5
|
+
scss: stylelint.Config;
|
|
92
6
|
};
|
|
93
7
|
|
|
94
|
-
export
|
|
8
|
+
export { all };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import lessConfig from './less.mjs';
|
|
2
|
-
import scssConfig from './scss.mjs';
|
|
1
|
+
import { lessConfig } from './less.mjs';
|
|
2
|
+
import { scssConfig } from './scss.mjs';
|
|
3
|
+
import 'module';
|
|
3
4
|
import '../../shared/frontend-preset.UJ8T0exL.mjs';
|
|
4
5
|
|
|
5
|
-
const all = { lessConfig, scssConfig };
|
|
6
|
+
const all = { less: lessConfig, scss: scssConfig };
|
|
6
7
|
|
|
7
|
-
export { all
|
|
8
|
+
export { all };
|
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
const module$1 = require('module');
|
|
3
4
|
const orderGroups = require('../../shared/frontend-preset.BhlqScTP.cjs');
|
|
4
5
|
|
|
6
|
+
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
7
|
+
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('stylelint/config/less.cjs', document.baseURI).href)));
|
|
8
|
+
const stylelintPlugins = {
|
|
9
|
+
order: require$1.resolve("stylelint-order"),
|
|
10
|
+
less: require$1.resolve("stylelint-less")
|
|
11
|
+
};
|
|
12
|
+
const stylelintConfig = {
|
|
13
|
+
standard: require$1.resolve("stylelint-config-standard"),
|
|
14
|
+
standardLess: require$1.resolve("stylelint-config-standard-less"),
|
|
15
|
+
recommendedVue: require$1.resolve("stylelint-config-recommended-vue")
|
|
16
|
+
};
|
|
5
17
|
const lessConfig = {
|
|
6
|
-
plugins: [
|
|
7
|
-
extends: [
|
|
18
|
+
plugins: [stylelintPlugins.order, stylelintPlugins.less],
|
|
19
|
+
extends: [stylelintConfig.standard, stylelintConfig.standardLess, stylelintConfig.recommendedVue],
|
|
8
20
|
rules: {
|
|
9
21
|
...orderGroups.baseRules,
|
|
10
22
|
...orderGroups.orderRules,
|
|
@@ -12,4 +24,4 @@ const lessConfig = {
|
|
|
12
24
|
}
|
|
13
25
|
};
|
|
14
26
|
|
|
15
|
-
|
|
27
|
+
exports.lessConfig = lessConfig;
|
|
@@ -1,47 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
plugins: string[];
|
|
3
|
-
extends: string[];
|
|
4
|
-
rules: {
|
|
5
|
-
'order/properties-order': ({
|
|
6
|
-
groupName: number;
|
|
7
|
-
emptyLineBefore: string;
|
|
8
|
-
noEmptyLineBetween: boolean;
|
|
9
|
-
properties: string[];
|
|
10
|
-
}[] | {
|
|
11
|
-
severity: string;
|
|
12
|
-
unspecified: string;
|
|
13
|
-
})[];
|
|
14
|
-
'order/order': (string | {
|
|
15
|
-
type: string;
|
|
16
|
-
name: string;
|
|
17
|
-
mixin?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
type: string;
|
|
20
|
-
mixin: boolean;
|
|
21
|
-
name?: undefined;
|
|
22
|
-
})[][];
|
|
23
|
-
'no-empty-source': (boolean | {
|
|
24
|
-
message: string;
|
|
25
|
-
})[];
|
|
26
|
-
'string-no-newline': (boolean | {
|
|
27
|
-
message: string;
|
|
28
|
-
})[];
|
|
29
|
-
'declaration-block-single-line-max-declarations': (number | {
|
|
30
|
-
message: string;
|
|
31
|
-
})[];
|
|
32
|
-
'function-name-case': (string | {
|
|
33
|
-
message: string;
|
|
34
|
-
})[];
|
|
35
|
-
'color-hex-length': (string | {
|
|
36
|
-
message: string;
|
|
37
|
-
})[];
|
|
38
|
-
'color-named': (string | {
|
|
39
|
-
message: string;
|
|
40
|
-
})[];
|
|
41
|
-
'custom-property-pattern': string;
|
|
42
|
-
'declaration-empty-line-before': null;
|
|
43
|
-
'declaration-property-value-no-unknown': null;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
1
|
+
import { Config } from 'stylelint';
|
|
46
2
|
|
|
47
|
-
|
|
3
|
+
declare const lessConfig: Config;
|
|
4
|
+
|
|
5
|
+
export { lessConfig };
|
|
@@ -1,47 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
plugins: string[];
|
|
3
|
-
extends: string[];
|
|
4
|
-
rules: {
|
|
5
|
-
'order/properties-order': ({
|
|
6
|
-
groupName: number;
|
|
7
|
-
emptyLineBefore: string;
|
|
8
|
-
noEmptyLineBetween: boolean;
|
|
9
|
-
properties: string[];
|
|
10
|
-
}[] | {
|
|
11
|
-
severity: string;
|
|
12
|
-
unspecified: string;
|
|
13
|
-
})[];
|
|
14
|
-
'order/order': (string | {
|
|
15
|
-
type: string;
|
|
16
|
-
name: string;
|
|
17
|
-
mixin?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
type: string;
|
|
20
|
-
mixin: boolean;
|
|
21
|
-
name?: undefined;
|
|
22
|
-
})[][];
|
|
23
|
-
'no-empty-source': (boolean | {
|
|
24
|
-
message: string;
|
|
25
|
-
})[];
|
|
26
|
-
'string-no-newline': (boolean | {
|
|
27
|
-
message: string;
|
|
28
|
-
})[];
|
|
29
|
-
'declaration-block-single-line-max-declarations': (number | {
|
|
30
|
-
message: string;
|
|
31
|
-
})[];
|
|
32
|
-
'function-name-case': (string | {
|
|
33
|
-
message: string;
|
|
34
|
-
})[];
|
|
35
|
-
'color-hex-length': (string | {
|
|
36
|
-
message: string;
|
|
37
|
-
})[];
|
|
38
|
-
'color-named': (string | {
|
|
39
|
-
message: string;
|
|
40
|
-
})[];
|
|
41
|
-
'custom-property-pattern': string;
|
|
42
|
-
'declaration-empty-line-before': null;
|
|
43
|
-
'declaration-property-value-no-unknown': null;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
1
|
+
import { Config } from 'stylelint';
|
|
46
2
|
|
|
47
|
-
|
|
3
|
+
declare const lessConfig: Config;
|
|
4
|
+
|
|
5
|
+
export { lessConfig };
|
|
@@ -1,47 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
plugins: string[];
|
|
3
|
-
extends: string[];
|
|
4
|
-
rules: {
|
|
5
|
-
'order/properties-order': ({
|
|
6
|
-
groupName: number;
|
|
7
|
-
emptyLineBefore: string;
|
|
8
|
-
noEmptyLineBetween: boolean;
|
|
9
|
-
properties: string[];
|
|
10
|
-
}[] | {
|
|
11
|
-
severity: string;
|
|
12
|
-
unspecified: string;
|
|
13
|
-
})[];
|
|
14
|
-
'order/order': (string | {
|
|
15
|
-
type: string;
|
|
16
|
-
name: string;
|
|
17
|
-
mixin?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
type: string;
|
|
20
|
-
mixin: boolean;
|
|
21
|
-
name?: undefined;
|
|
22
|
-
})[][];
|
|
23
|
-
'no-empty-source': (boolean | {
|
|
24
|
-
message: string;
|
|
25
|
-
})[];
|
|
26
|
-
'string-no-newline': (boolean | {
|
|
27
|
-
message: string;
|
|
28
|
-
})[];
|
|
29
|
-
'declaration-block-single-line-max-declarations': (number | {
|
|
30
|
-
message: string;
|
|
31
|
-
})[];
|
|
32
|
-
'function-name-case': (string | {
|
|
33
|
-
message: string;
|
|
34
|
-
})[];
|
|
35
|
-
'color-hex-length': (string | {
|
|
36
|
-
message: string;
|
|
37
|
-
})[];
|
|
38
|
-
'color-named': (string | {
|
|
39
|
-
message: string;
|
|
40
|
-
})[];
|
|
41
|
-
'custom-property-pattern': string;
|
|
42
|
-
'declaration-empty-line-before': null;
|
|
43
|
-
'declaration-property-value-no-unknown': null;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
1
|
+
import { Config } from 'stylelint';
|
|
46
2
|
|
|
47
|
-
|
|
3
|
+
declare const lessConfig: Config;
|
|
4
|
+
|
|
5
|
+
export { lessConfig };
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
+
import { createRequire } from 'module';
|
|
1
2
|
import { o as orderGroupsRules, a as orderRules, b as baseRules } from '../../shared/frontend-preset.UJ8T0exL.mjs';
|
|
2
3
|
|
|
4
|
+
const require = createRequire(import.meta.url);
|
|
5
|
+
const stylelintPlugins = {
|
|
6
|
+
order: require.resolve("stylelint-order"),
|
|
7
|
+
less: require.resolve("stylelint-less")
|
|
8
|
+
};
|
|
9
|
+
const stylelintConfig = {
|
|
10
|
+
standard: require.resolve("stylelint-config-standard"),
|
|
11
|
+
standardLess: require.resolve("stylelint-config-standard-less"),
|
|
12
|
+
recommendedVue: require.resolve("stylelint-config-recommended-vue")
|
|
13
|
+
};
|
|
3
14
|
const lessConfig = {
|
|
4
|
-
plugins: [
|
|
5
|
-
extends: [
|
|
15
|
+
plugins: [stylelintPlugins.order, stylelintPlugins.less],
|
|
16
|
+
extends: [stylelintConfig.standard, stylelintConfig.standardLess, stylelintConfig.recommendedVue],
|
|
6
17
|
rules: {
|
|
7
18
|
...baseRules,
|
|
8
19
|
...orderRules,
|
|
@@ -10,4 +21,4 @@ const lessConfig = {
|
|
|
10
21
|
}
|
|
11
22
|
};
|
|
12
23
|
|
|
13
|
-
export { lessConfig
|
|
24
|
+
export { lessConfig };
|