Skip to content

Commit

Permalink
Make linting rules stricter (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbarth authored Jun 8, 2023
1 parent b80fe8c commit dedb9c3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
"rules": {
"no-console": "error",
"no-unused-vars": "warn",
"no-prototype-builtins": "warn"
"no-prototype-builtins": "warn",
"one-var": ["warn", "never"],
"no-duplicate-imports": "error",
"no-use-before-define": "error",
"curly": "warn",
"eqeqeq": ["error", "smart"],
"no-var": "warn",
"prefer-const":"warn"
}
}
}

0 comments on commit dedb9c3

Please sign in to comment.