Skip to content

Commit

Permalink
eslint-import-resolver-typescript 2.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bordecal committed Jul 18, 2022
1 parent c33d70c commit 937e51d
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"sourceType": "module"
},
"plugins": ["eslint-plugin-import", "header", "@typescript-eslint"],
"settings": {
"import/resolver": {
"typescript": {}
}
},
"rules": {
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/no-explicit-any": "error",
Expand Down
26 changes: 13 additions & 13 deletions linting/timings.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Rule | Time (ms) | Relative
:-------------------------------------------|----------:|--------:
import/no-unused-modules | 16192.504 | 34.3%
@typescript-eslint/no-misused-promises | 12934.596 | 27.4%
@typescript-eslint/no-floating-promises | 6937.194 | 14.7%
import/order | 2205.970 | 4.7%
import/no-extraneous-dependencies | 2010.543 | 4.3%
import/no-duplicates | 1928.831 | 4.1%
import/extensions | 1304.148 | 2.8%
@typescript-eslint/no-unnecessary-qualifier | 975.010 | 2.1%
padding-line-between-statements | 502.669 | 1.1%
max-len | 199.775 | 0.4%
import/no-unused-modules | 18393.789 | 37.8%
@typescript-eslint/no-misused-promises | 10975.028 | 22.5%
@typescript-eslint/no-floating-promises | 5962.898 | 12.2%
import/order | 3137.135 | 6.4%
import/no-duplicates | 3070.013 | 6.3%
import/no-extraneous-dependencies | 2968.616 | 6.1%
import/extensions | 905.968 | 1.9%
@typescript-eslint/no-unnecessary-qualifier | 849.399 | 1.7%
padding-line-between-statements | 409.364 | 0.8%
max-len | 174.747 | 0.4%

real 1m21.717s
user 0m0.168s
sys 0m0.399s
real 1m14.048s
user 0m0.197s
sys 0m0.293s
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
"esbuild-wasm": "0.14.49",
"eslint": "8.19.0",
"eslint-config-prettier": "8.5.0",
"eslint-import-resolver-typescript": "2.7.1",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.26.0",
"express": "4.18.1",
Expand Down
15 changes: 12 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@

"@angular/dev-infra-private@https://github.com/angular/dev-infra-private-builds.git#efc5d56da4f755f2a4bf57e4d835551cc2698115":
version "0.0.0-1241c1280f4a2a58eda8c322a0f057840a9d5b6c"
uid efc5d56da4f755f2a4bf57e4d835551cc2698115
resolved "https://github.com/angular/dev-infra-private-builds.git#efc5d56da4f755f2a4bf57e4d835551cc2698115"
dependencies:
"@angular-devkit/build-angular" "14.1.0-next.4"
Expand Down Expand Up @@ -4897,6 +4896,17 @@ eslint-import-resolver-node@0.3.6, eslint-import-resolver-node@^0.3.6:
debug "^3.2.7"
resolve "^1.20.0"

eslint-import-resolver-typescript@2.7.1:
version "2.7.1"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-2.7.1.tgz#a90a4a1c80da8d632df25994c4c5fdcdd02b8751"
integrity sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ==
dependencies:
debug "^4.3.4"
glob "^7.2.0"
is-glob "^4.0.3"
resolve "^1.22.0"
tsconfig-paths "^3.14.1"

eslint-module-utils@^2.7.3:
version "2.7.3"
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.3.tgz#ad7e3a10552fdd0642e1e55292781bd6e34876ee"
Expand Down Expand Up @@ -5617,7 +5627,7 @@ glob@^6.0.1:
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@^7.0.0, glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.1.7:
glob@^7.0.0, glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.1.7, glob@^7.2.0:
version "7.2.3"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
Expand Down Expand Up @@ -9480,7 +9490,6 @@ sass@1.53.0, sass@^1.49.9:

"sauce-connect-proxy@https://saucelabs.com/downloads/sc-4.7.1-linux.tar.gz":
version "0.0.0"
uid e5d7f82ad98251a653d1b0537f1103e49eda5e11
resolved "https://saucelabs.com/downloads/sc-4.7.1-linux.tar.gz#e5d7f82ad98251a653d1b0537f1103e49eda5e11"

saucelabs@^1.5.0:
Expand Down

0 comments on commit 937e51d

Please sign in to comment.