-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from clang/tslint to prettier/eslint (#219)
* Replace clang-format with prettier * Prettier-format everything * Replace tslint with eslint * Fix @typescript-eslint/ban-types errors * Fix @typescript-eslint/no-explicit-any errors * Fix no-async-promise-executor error * Fix no-case-declarations errors * Fix @typescript-eslint/no-var-requires errors * Remove hack for tslint * Add lint and check-format jobs to GitHub action
- Loading branch information
Showing
61 changed files
with
4,151 additions
and
2,049 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 @@ | ||
/lib/ | ||
/client/lib/ | ||
/src/test/data/ | ||
/config.schema.json |
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,22 @@ | ||
{ | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": 2020, | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["@typescript-eslint", "eslint-plugin-no-only-tests"], | ||
"env": { | ||
"node": true | ||
}, | ||
"rules": { | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"no-constant-condition": "off", | ||
"no-empty": "off" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
test/ | ||
src/test/ | ||
lib/test/ | ||
.clang-format | ||
.prettierignore | ||
.prettierrc.json | ||
tsconfig-base.json | ||
tsconfig.json | ||
tslint.json | ||
.eslintignore | ||
.eslintrc.json | ||
*.tgz | ||
*.code-workspace |
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,5 @@ | ||
/lib/ | ||
/client/lib/ | ||
/src/test/data/logs/ | ||
/src/test/data/invalid-js.js | ||
/config.schema.json |
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 @@ | ||
{ | ||
"singleQuote": true, | ||
"bracketSpacing": false | ||
} |
Oops, something went wrong.