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 63341e4 commit 8c6abcb
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 8c6abcb

Please sign in to comment.