Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce new eslint rules #10455

Merged
merged 8 commits into from Aug 28, 2020
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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