Skip to content

Commit

Permalink
Introduce new eslint rules (#10455)
Browse files Browse the repository at this point in the history
* Check 1

* Check 2

* Check 3

* Check 5

* Final checks
  • Loading branch information
nishantwrp committed Aug 28, 2020
1 parent f21effa commit 9b45f41
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .eslintrc
Expand Up @@ -202,6 +202,9 @@
// The following must be off so that we can enable
// "@typescript-eslint/semi", which checks semicolons in TS files.
"semi": "off",
// The following must be off so that we can enable
// "@typescript-eslint/no-extra-semi".
"no-extra-semi": "off",
"semi-spacing": "error",
"space-before-blocks": [
"error",
Expand Down Expand Up @@ -277,6 +280,9 @@
"@typescript-eslint/no-extra-non-null-assertion": ["error"],
"@typescript-eslint/no-misused-new": ["error"],
"@typescript-eslint/explicit-module-boundary-types": ["error"],
"@typescript-eslint/prefer-as-const": ["error"],
"@typescript-eslint/no-array-constructor": ["error"],
"@typescript-eslint/no-extra-semi": ["error"],
"wrap-iife": [
"error",
"any"
Expand Down

0 comments on commit 9b45f41

Please sign in to comment.