Skip to content

Instantly share code, notes, and snippets.

@w3cj
Last active November 13, 2025 05:36
Show Gist options
  • Select an option

  • Save w3cj/21b1f1b4857ecd13d076075a5c5aaf13 to your computer and use it in GitHub Desktop.

Select an option

Save w3cj/21b1f1b4857ecd13d076075a5c5aaf13 to your computer and use it in GitHub Desktop.
// 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: {
"no-console": ["warn"],
"node/no-process-env": ["error"],
"perfectionist/sort-imports": ["error", {
internalPattern: ["@/**"],
}],
"unicorn/filename-case": ["error", {
case: "kebabCase",
ignore: ["README.md"],
}],
},
});
@stephen-metriqe
Copy link

ty so much

@pronayguha13
Copy link

<3 it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment