Skip to content

Commit

Permalink
Turn off naming convention eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
etcd committed Jul 11, 2024
1 parent 4ec1b44 commit 7d527d3
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,7 @@ const config = {
"warn",
{ prefer: "type-imports", fixStyle: "separate-type-imports" },
],
"@typescript-eslint/naming-convention": [
"warn",
{
selector: ["variable", "property"],
format: ["camelCase"],
leadingUnderscore: "allow",
trailingUnderscore: "allow",
},
{
selector: ["typeLike"],
format: ["PascalCase"],
},
{
selector: ["variable", "function"],
format: null,
modifiers: ["global"],
},
],
"@typescript-eslint/naming-convention": ["off"],
"@typescript-eslint/no-misused-promises": [
2,
{ checksVoidReturn: { attributes: false } },
Expand Down

0 comments on commit 7d527d3

Please sign in to comment.