Skip to content

Commit

Permalink
Adding eslint and lint configuration to TypeScript SDK (#17676)
Browse files Browse the repository at this point in the history
Added eslint and TypeScript linting config to the TypeScript SDK. You can run it with npm run lint, but it's not integrated with the build step, so won't fail the build -- just informational.
  • Loading branch information
pcoet authored May 16, 2022
1 parent e84bd61 commit 03c3c36
Show file tree
Hide file tree
Showing 3 changed files with 1,954 additions and 29 deletions.
17 changes: 17 additions & 0 deletions sdks/typescript/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json"]
},
"plugins": ["@typescript-eslint"],
"env": {
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"ignorePatterns": ["dist"]
}
Loading

0 comments on commit 03c3c36

Please sign in to comment.