-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial migration to ESLint * Recommend ESLint instead of TSLint * Fix prefer-const * Fix no-useless-escape * Fix restrict-template-expressions * Fix no-floating-promises * Fix no-unsafe-enum-comparison * Fix ban-types * Fix no-unused-vars * Fix no-array-constructor, no-var * Fix require-await * Fix no-misused-promises * Fix no-unbound-method * Fix no-namespace * Lint telemetryHelper * Lint graphHelper * Delete unused OperationsClient * Lint ServiceConnection* * Lint configure * Another round of lint configuration * Lint restClient * Ignore parseError * Lint in CI * Make it stricter * Better fix for schemaContributor * Add a missing progress notification * Ignore tools for CI, I guess
- Loading branch information
Showing
45 changed files
with
2,121 additions
and
2,067 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dist | ||
node_modules | ||
out | ||
tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* eslint-env node */ | ||
module.exports = { | ||
extends: [ | ||
'eslint:recommended', | ||
], | ||
env: { | ||
node: true | ||
}, | ||
parserOptions: { | ||
ecmaVersion: "latest" | ||
}, | ||
root: true, | ||
overrides: [ | ||
{ | ||
extends: ['plugin:@typescript-eslint/strict-type-checked'], | ||
files: ['./**/*.{ts,tsx}'], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: true, | ||
}, | ||
plugins: ['@typescript-eslint'], | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.