Last active
October 2, 2025 12:14
-
-
Save w3cj/21b1f1b4857ecd13d076075a5c5aaf13 to your computer and use it in GitHub Desktop.
Revisions
-
w3cj revised this gist
Mar 20, 2025 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export default antfu({ }, }, { rules: { "ts/no-redeclare": "off", "ts/consistent-type-definitions": ["error", "type"], "no-console": ["warn"], "antfu/no-top-level-await": ["off"], -
w3cj renamed this gist
Mar 15, 2025 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
w3cj revised this gist
Jan 10, 2025 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,12 +14,13 @@ export default antfu({ }, }, { rules: { "ts/consistent-type-definitions": ["error", "type"], "no-console": ["warn"], "antfu/no-top-level-await": ["off"], "node/prefer-global/process": ["off"], "node/no-process-env": ["error"], "perfectionist/sort-imports": ["error", { tsconfigRootDir: '.', }], "unicorn/filename-case": ["error", { case: "kebabCase", -
w3cj revised this gist
Oct 3, 2024 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,6 +15,8 @@ export default antfu({ }, { rules: { "no-console": ["warn"], "antfu/no-top-level-await": ["off"], "node/prefer-global/process": ["off"], "node/no-process-env": ["error"], "perfectionist/sort-imports": ["error", { internalPattern: ["@/**"], @@ -24,4 +26,4 @@ export default antfu({ ignore: ["README.md"], }], }, }); -
w3cj revised this gist
Sep 21, 2024 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,12 +14,14 @@ export default antfu({ }, }, { rules: { "no-console": ["warn"], "node/no-process-env": ["error"], "perfectionist/sort-imports": ["error", { internalPattern: ["@/**"], }], "unicorn/filename-case": ["error", { case: "kebabCase", ignore: ["README.md"], }], }, }); -
w3cj created this gist
Sep 21, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ // Run this command to generate base config and vs code settings: // pnpm dlx @antfu/eslint-config@latest import antfu from "@antfu/eslint-config"; export default antfu({ type: "app", typescript: true, formatters: true, stylistic: { indent: 2, semi: true, quotes: "double", }, }, { rules: { "node/no-process-env": ["error"], "perfectionist/sort-imports": ["error", { internalPattern: ["@/**"], }], "unicorn/filename-case": ["error", { case: "kebabCase", }], }, });