Skip to content

Instantly share code, notes, and snippets.

@MuhammedAlkhudiry
Created September 9, 2025 10:00
Show Gist options
  • Select an option

  • Save MuhammedAlkhudiry/5ca388cc3e594b71e777c8c12e9890e1 to your computer and use it in GitHub Desktop.

Select an option

Save MuhammedAlkhudiry/5ca388cc3e594b71e777c8c12e9890e1 to your computer and use it in GitHub Desktop.
```ts
{
files: ["app/**/*.{js,jsx,ts,tsx}"],
rules: {
curly: ["error", "all"],
"padding-line-between-statements": [
"error",
{ blankLine: "always", prev: "*", next: "return" },
{ blankLine: "always", prev: ["const", "let", "var", 'export'], next: "*" },
{ blankLine: "any", prev: ["const", "let", "var"], next: ["const", "let", "var"] },
{ blankLine: "always", prev: "directive", next: "*" },
{ blankLine: "any", prev: "directive", next: "directive" },
{ blankLine: "always", prev: ["case", "default"], next: "*" },
],
},
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment