Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* migrate to typescript * update all deps * use ts-node for tests * update nodejs testing targets --------- Co-authored-by: yutak23 <yutapilafu@gmail.com>
- Loading branch information
Showing
19 changed files
with
4,094 additions
and
8,862 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,38 @@ | ||
{ | ||
"extends": ["airbnb-base", "plugin:jasmine/recommended", "prettier"], | ||
"plugins": ["jasmine", "prettier"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:jasmine/recommended", | ||
"prettier" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["jasmine", "@typescript-eslint", "prettier"], | ||
"ignorePatterns": [ | ||
"dist/**/*" | ||
], | ||
"rules": { | ||
"@typescript-eslint/no-namespace": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"printWidth": 100, | ||
"semi": true, | ||
"parser": "babel" | ||
"parser": "typescript" | ||
} | ||
], | ||
"jasmine/no-spec-dupes": ["warn", "branch"], | ||
"jasmine/no-suite-dupes": ["warn", "branch"], | ||
|
||
"valid-jsdoc": [ | ||
"warn", | ||
{ | ||
"requireReturn": false, | ||
"requireParamDescription": false, | ||
"requireReturnDescription": false, | ||
"prefer": { | ||
"returns": "return", | ||
"params": "param" | ||
} | ||
} | ||
], | ||
"complexity": ["warn", 7], | ||
"no-param-reassign": ["error", { "props": false }], | ||
"no-underscore-dangle": ["error", { "allowAfterThis": true }], | ||
"object-shorthand": ["error", "always", { "avoidQuotes": true }], | ||
"comma-dangle": ["warn", "never"], | ||
"consistent-return": "off", | ||
"no-restricted-properties":"off" | ||
|
||
"no-restricted-properties":"off", | ||
"no-unused-vars": "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,6 +1,6 @@ | ||
node_modules | ||
npm-debug.log | ||
docs | ||
lib | ||
dist | ||
.eslintcache | ||
.npmrc | ||
.npmrc |
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,7 @@ | ||
{ | ||
"[typescript]": { | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
} | ||
}, | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.