@lobehub/lint 1.7.2 → 1.7.3
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/dist/commitlint/index.d.ts +1 -0
- package/dist/commitlint/index.js +1 -0
- package/dist/eslint/index.d.ts +1 -0
- package/dist/eslint/index.js +6 -1
- package/dist/prettier/index.d.ts +7 -0
- package/dist/prettier/index.js +9 -1
- package/dist/remarklint/index.d.ts +1 -0
- package/dist/remarklint/index.js +1 -0
- package/dist/semantic-release/index.d.ts +10 -1
- package/dist/semantic-release/index.js +4 -1
- package/dist/stylelint/index.d.ts +1 -0
- package/dist/stylelint/index.js +2 -1
- package/package.json +2 -1
package/dist/commitlint/index.js
CHANGED
package/dist/eslint/index.d.ts
CHANGED
package/dist/eslint/index.js
CHANGED
|
@@ -33,7 +33,12 @@ __export(eslint_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(eslint_exports);
|
|
35
35
|
var eslint_default = {
|
|
36
|
-
|
|
36
|
+
$schema: "https://json.schemastore.org/eslintrc",
|
|
37
|
+
extends: [
|
|
38
|
+
"eslint:recommended",
|
|
39
|
+
require.resolve("@umijs/lint/dist/config/eslint"),
|
|
40
|
+
"plugin:unicorn/recommended"
|
|
41
|
+
],
|
|
37
42
|
plugins: [
|
|
38
43
|
"unicorn",
|
|
39
44
|
"import",
|
package/dist/prettier/index.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
$schema: string;
|
|
3
|
+
arrowParens: string;
|
|
4
|
+
bracketSpacing: boolean;
|
|
5
|
+
endOfLine: string;
|
|
2
6
|
importOrder: string[];
|
|
3
7
|
importOrderSeparation: boolean;
|
|
4
8
|
importOrderSortSpecifiers: boolean;
|
|
@@ -11,7 +15,10 @@ declare const _default: {
|
|
|
11
15
|
plugins: string[];
|
|
12
16
|
printWidth: number;
|
|
13
17
|
proseWrap: string;
|
|
18
|
+
quoteProps: string;
|
|
14
19
|
singleQuote: boolean;
|
|
20
|
+
tabWidth: number;
|
|
15
21
|
trailingComma: string;
|
|
22
|
+
useTabs: boolean;
|
|
16
23
|
};
|
|
17
24
|
export default _default;
|
package/dist/prettier/index.js
CHANGED
|
@@ -33,6 +33,10 @@ __export(prettier_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(prettier_exports);
|
|
35
35
|
var prettier_default = {
|
|
36
|
+
$schema: "https://json.schemastore.org/prettierrc",
|
|
37
|
+
arrowParens: "always",
|
|
38
|
+
bracketSpacing: true,
|
|
39
|
+
endOfLine: "lf",
|
|
36
40
|
importOrder: ["<THIRD_PARTY_MODULES>", "^@/(.*)$", "^[./]"],
|
|
37
41
|
importOrderSeparation: true,
|
|
38
42
|
importOrderSortSpecifiers: true,
|
|
@@ -45,6 +49,7 @@ var prettier_default = {
|
|
|
45
49
|
}
|
|
46
50
|
],
|
|
47
51
|
plugins: [
|
|
52
|
+
require.resolve("prettier-plugin-sh"),
|
|
48
53
|
require.resolve("prettier-plugin-organize-imports"),
|
|
49
54
|
require.resolve("prettier-plugin-packagejson"),
|
|
50
55
|
require.resolve("prettier-plugin-sort-json"),
|
|
@@ -52,6 +57,9 @@ var prettier_default = {
|
|
|
52
57
|
],
|
|
53
58
|
printWidth: 100,
|
|
54
59
|
proseWrap: "never",
|
|
60
|
+
quoteProps: "consistent",
|
|
55
61
|
singleQuote: true,
|
|
56
|
-
|
|
62
|
+
tabWidth: 2,
|
|
63
|
+
trailingComma: "all",
|
|
64
|
+
useTabs: false
|
|
57
65
|
};
|
package/dist/remarklint/index.js
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
/// <reference types="semantic-release" />
|
|
2
|
-
declare const _default:
|
|
2
|
+
declare const _default: {
|
|
3
|
+
extends?: string | readonly string[] | undefined;
|
|
4
|
+
branches?: import("semantic-release").BranchSpec | readonly import("semantic-release").BranchSpec[] | undefined;
|
|
5
|
+
repositoryUrl?: string | undefined;
|
|
6
|
+
tagFormat?: string | undefined;
|
|
7
|
+
plugins?: readonly import("semantic-release").PluginSpec[] | undefined;
|
|
8
|
+
dryRun?: boolean | undefined;
|
|
9
|
+
ci?: boolean | undefined;
|
|
10
|
+
$schema: string;
|
|
11
|
+
};
|
|
3
12
|
export default _default;
|
|
@@ -90,4 +90,7 @@ var options = {
|
|
|
90
90
|
{ release: false, subject: "*skip release*" }
|
|
91
91
|
]
|
|
92
92
|
};
|
|
93
|
-
var semantic_release_default =
|
|
93
|
+
var semantic_release_default = {
|
|
94
|
+
$schema: "https://json.schemastore.org/semantic-release",
|
|
95
|
+
...(0, import_createConfig.createConfig)(options)
|
|
96
|
+
};
|
package/dist/stylelint/index.js
CHANGED
|
@@ -33,9 +33,10 @@ __export(stylelint_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(stylelint_exports);
|
|
35
35
|
var stylelint_default = {
|
|
36
|
+
$schema: "https://json.schemastore.org/stylelintrc",
|
|
36
37
|
extends: [
|
|
37
|
-
"stylelint-config-recommended",
|
|
38
38
|
require.resolve("@umijs/lint/dist/config/stylelint"),
|
|
39
|
+
"stylelint-config-recommended",
|
|
39
40
|
"stylelint-config-clean-order"
|
|
40
41
|
],
|
|
41
42
|
overrides: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/lint",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"homepage": "https://github.com/lobehub/lobe-lint",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/lobehub/lobe-lint/issues/new"
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"postcss-styled-syntax": "latest",
|
|
34
34
|
"prettier-plugin-organize-imports": "latest",
|
|
35
35
|
"prettier-plugin-packagejson": "latest",
|
|
36
|
+
"prettier-plugin-sh": "latest",
|
|
36
37
|
"prettier-plugin-sort-json": "latest",
|
|
37
38
|
"remark-frontmatter": "latest",
|
|
38
39
|
"remark-gfm": "latest",
|