@acfatah/eslint-preset 2.0.0 → 3.0.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/dist/index.d.ts +5 -5
- package/dist/index.mjs +6 -6
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import antfu from '@antfu/eslint-config';
|
|
4
4
|
|
|
5
|
-
export declare function defineConfig(options: Parameters<typeof antfu>[0], ...userConfigs: Parameters<typeof antfu>[1][]):
|
|
5
|
+
export declare function defineConfig(options: Parameters<typeof antfu>[0], ...userConfigs: Parameters<typeof antfu>[1][]): ReturnType<typeof antfu>;
|
|
6
6
|
export declare const betterTailwindcssPlugin: {
|
|
7
7
|
"better-tailwindcss": {
|
|
8
8
|
configs: {
|
|
@@ -36,17 +36,17 @@ export declare const preset: {
|
|
|
36
36
|
"perfectionist/sort-imports": [
|
|
37
37
|
"error",
|
|
38
38
|
{
|
|
39
|
-
partitionByNewLine: true;
|
|
40
|
-
newlinesBetween: "ignore";
|
|
41
39
|
ignoreCase: false;
|
|
40
|
+
newlinesBetween: number;
|
|
41
|
+
partitionByComment: true;
|
|
42
42
|
}
|
|
43
43
|
];
|
|
44
44
|
"perfectionist/sort-exports": [
|
|
45
45
|
"error",
|
|
46
46
|
{
|
|
47
|
-
partitionByNewLine: true;
|
|
48
|
-
newlinesBetween: "ignore";
|
|
49
47
|
ignoreCase: false;
|
|
48
|
+
newlinesBetween: number;
|
|
49
|
+
partitionByComment: true;
|
|
50
50
|
}
|
|
51
51
|
];
|
|
52
52
|
"space-before-function-paren": [
|
package/dist/index.mjs
CHANGED
|
@@ -18,14 +18,14 @@ var markdown = {};
|
|
|
18
18
|
var preset = {
|
|
19
19
|
"sort-imports": "off",
|
|
20
20
|
"perfectionist/sort-imports": ["error", {
|
|
21
|
-
|
|
22
|
-
newlinesBetween:
|
|
23
|
-
|
|
21
|
+
ignoreCase: false,
|
|
22
|
+
newlinesBetween: 1,
|
|
23
|
+
partitionByComment: true
|
|
24
24
|
}],
|
|
25
25
|
"perfectionist/sort-exports": ["error", {
|
|
26
|
-
|
|
27
|
-
newlinesBetween:
|
|
28
|
-
|
|
26
|
+
ignoreCase: false,
|
|
27
|
+
newlinesBetween: 1,
|
|
28
|
+
partitionByComment: true
|
|
29
29
|
}],
|
|
30
30
|
"space-before-function-paren": ["error", {
|
|
31
31
|
anonymous: "never",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acfatah/eslint-preset",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"description": "Eslint config preset.",
|
|
6
6
|
"author": "Achmad F. Ibrahim <acfatah@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -41,19 +41,19 @@
|
|
|
41
41
|
"release": "bun run build && bunx --bun bumpp"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@antfu/eslint-config": "^
|
|
44
|
+
"@antfu/eslint-config": "^7.0.1",
|
|
45
45
|
"@eslint/markdown": "^7.5.1",
|
|
46
46
|
"eslint": "^9.39.2",
|
|
47
|
-
"eslint-plugin-better-tailwindcss": "^4.0.
|
|
48
|
-
"eslint-plugin-format": "^1.
|
|
49
|
-
"eslint-plugin-vue": "^10.
|
|
47
|
+
"eslint-plugin-better-tailwindcss": "^4.0.1",
|
|
48
|
+
"eslint-plugin-format": "^1.3.1",
|
|
49
|
+
"eslint-plugin-vue": "^10.7.0",
|
|
50
50
|
"jiti": "^2.6.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@commitlint/cli": "^20.3.1",
|
|
54
54
|
"@commitlint/config-conventional": "^20.3.1",
|
|
55
|
-
"@types/bun": "^1.3.
|
|
56
|
-
"bumpp": "^10.
|
|
55
|
+
"@types/bun": "^1.3.6",
|
|
56
|
+
"bumpp": "^10.4.0",
|
|
57
57
|
"bun-plugin-dts": "^0.3.0",
|
|
58
58
|
"simple-git-hooks": "^2.13.1"
|
|
59
59
|
},
|