-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate from istanbul to nyc coverage package and from tslint …
…to eslint lint package (#654) Signed-off-by: Ilona Shishov <[email protected]>
- Loading branch information
1 parent
2b35041
commit ba71fd2
Showing
38 changed files
with
3,595 additions
and
3,014 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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
module.exports = { | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"rules": { | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-require-imports": "error", | ||
"@typescript-eslint/no-unused-expressions": "error", | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ | ||
"selector": "default", | ||
"format": ["camelCase"] | ||
}, | ||
{ | ||
"selector": ["class", "interface", "enum"], | ||
"format": ["PascalCase"] | ||
}, | ||
{ | ||
"selector": ["enumMember", "variable", "property", "method"], | ||
"format": ["UPPER_CASE", "camelCase"], | ||
"leadingUnderscore": "allow" | ||
} | ||
], | ||
"@typescript-eslint/semi": ["error", "always"], | ||
"@typescript-eslint/quotes": [ | ||
"error", | ||
"single", | ||
{ | ||
"allowTemplateLiterals": true, | ||
"avoidEscape": true | ||
} | ||
], | ||
"@typescript-eslint/no-shadow": "error", | ||
"@typescript-eslint/no-redeclare": "error", | ||
"no-async-promise-executor": "off", | ||
"no-redeclare": "off", | ||
"no-duplicate-case": "error", | ||
"no-shadow": "off", | ||
"curly": "error", | ||
"semi": "off", | ||
"eqeqeq": ["error", "always"], | ||
"quotes": "off", | ||
"no-debugger": "error", | ||
"no-empty": "error", | ||
"no-var": "error", | ||
"no-unsafe-finally": "error", | ||
"new-parens": "error", | ||
"no-throw-literal": "error", | ||
} | ||
} |
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,19 +1,23 @@ | ||
# Dependency directories | ||
**/node_modules | ||
**/package-lock.json | ||
|
||
# test data directories | ||
test-workspace/ | ||
|
||
# nyc test coverage directories | ||
coverage/ | ||
.nyc_output/ | ||
.vscode-test/ | ||
|
||
# npm config file | ||
.npmrc | ||
|
||
#others | ||
dist | ||
out | ||
node_modules | ||
ca-lsp-server.tar | ||
ca-lsp-server/ | ||
*.vsix | ||
.vscode-test/ | ||
.DS_Store | ||
*.tar.* | ||
coverage/ | ||
.history | ||
target/ | ||
coverage/ | ||
.history | ||
target/ | ||
test/resources/**/package-lock.json | ||
test/resources/**/node_modules | ||
.npmrc | ||
test-workspace/ | ||
.history |
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.
Oops, something went wrong.