Skip to content

Commit

Permalink
add eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sagerb committed Aug 16, 2024
1 parent 5060daa commit c091517
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions extensions/vscode/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"semi": "off"
"no-throw-literal": "error",
"semi": "off",
"no-restricted-syntax": [
"error",
{
"selector": "ThrowStatement"
}
]
},
"ignorePatterns": ["out", "dist", "**/*.d.ts", "api"]
}

0 comments on commit c091517

Please sign in to comment.