Skip to content

Commit 4e7a953

Browse files
committed
chore: update lint config
1 parent f4e95d0 commit 4e7a953

File tree

8 files changed

+12
-17
lines changed

8 files changed

+12
-17
lines changed

eslint.config.mjs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,10 @@ export default unjs(
1313
"**/dist",
1414
],
1515
rules: {
16-
"unicorn/no-null": 0,
1716
"no-undef": 0,
18-
"@typescript-eslint/no-unused-vars": 0,
19-
"unicorn/filename-case": 0,
2017
"unicorn/consistent-function-scoping": 0,
21-
"@typescript-eslint/no-empty-object-type": 0,
2218
"unicorn/no-empty-file": 0,
23-
"unicorn/prefer-ternary": 0,
24-
"unicorn/prefer-single-call": 0,
25-
"unicorn/prefer-code-point": 0,
26-
"@typescript-eslint/no-unused-expressions": 0,
27-
"unicorn/no-anonymous-default-export": 0,
28-
// "@typescript-eslint/no-deprecated": "error",
19+
"@typescript-eslint/no-unused-vars": 0,
2920
},
3021
}
3122
// {

lib/vite.types.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
// eslint-disable-next-line unicorn/require-module-specifiers
12
export {};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"edge-runtime": "^4.0.1",
115115
"escape-string-regexp": "^5.0.0",
116116
"eslint": "^9.39.2",
117-
"eslint-config-unjs": "^0.6.0",
117+
"eslint-config-unjs": "^0.6.2",
118118
"etag": "^1.8.1",
119119
"execa": "^9.6.1",
120120
"expect-type": "^1.3.0",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/types/fetch/fetch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,5 @@ export interface $Fetch<
112112
): $Fetch<T, R>;
113113
}
114114

115+
// eslint-disable-next-line unicorn/require-module-specifiers
115116
export type {};

src/types/global.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ declare global {
1717
interface ImportMeta extends NitroImportMeta {}
1818
}
1919

20+
// eslint-disable-next-line unicorn/require-module-specifiers
2021
export type {};

src/types/h3.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ declare module "srvx" {
2424
}
2525
}
2626

27+
// eslint-disable-next-line unicorn/require-module-specifiers
2728
export type {};

test/examples.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const skip = new Set<string>(["websocket"]);
1616

1717
const skipDev = new Set<string>(["auto-imports", "cached-handler"]);
1818

19-
const skipProd = new Set<string>([]);
19+
const skipProd = new Set<string>();
2020

2121
for (const example of await readdir(examplesDir)) {
2222
if (example.startsWith("_")) continue;

0 commit comments

Comments
 (0)