Skip to content

Commit

Permalink
Update the settings of the static analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Feb 18, 2024
1 parent 82e3a1b commit d44ccfa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions etc/eslint.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ module.exports = {
{
files: ["test/**/*.js"],
rules: {"@typescript-eslint/no-floating-promises": "off"}
},
{
files: ["tool/*.js"],
rules: {"@typescript-eslint/no-unused-expressions": "off"}
}
],
parser: "@typescript-eslint/parser",
Expand Down Expand Up @@ -199,7 +195,7 @@ module.exports = {
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-unnecessary-qualifier": "error",
"@typescript-eslint/no-unsafe-unary-minus": "error",
"@typescript-eslint/no-unused-expressions": "error",
"@typescript-eslint/no-unused-expressions": ["error", {allowTaggedTemplates: true, allowTernary: true}],
"@typescript-eslint/no-use-before-define": ["error", {functions: false}],
"@typescript-eslint/no-useless-empty-export": "error",
"@typescript-eslint/parameter-properties": "error",
Expand Down

0 comments on commit d44ccfa

Please sign in to comment.