File tree Expand file tree Collapse file tree 4 files changed +12
-19
lines changed Expand file tree Collapse file tree 4 files changed +12
-19
lines changed Original file line number Diff line number Diff line change 6
6
"dependencies" : {
7
7
"@typescript-eslint/experimental-utils" : " ^5.0.0" ,
8
8
"common-tags" : " ^1.8.0" ,
9
- "eslint-etc" : " ^5.0 .0" ,
9
+ "eslint-etc" : " ^5.2 .0" ,
10
10
"requireindex" : " ~1.2.0" ,
11
11
"tslib" : " ^2.0.0"
12
12
},
Original file line number Diff line number Diff line change @@ -11,10 +11,11 @@ import {
11
11
isAssignmentExpression ,
12
12
isCallExpression ,
13
13
isIdentifier ,
14
+ isPrivateIdentifier ,
14
15
isMemberExpression ,
15
16
isVariableDeclarator ,
16
17
} from "eslint-etc" ;
17
- import { ruleCreator , isPrivateIdentifier } from "../utils" ;
18
+ import { ruleCreator } from "../utils" ;
18
19
19
20
const defaultOptions : readonly {
20
21
checkDecorators ?: string [ ] ;
Original file line number Diff line number Diff line change 4
4
*/
5
5
6
6
import { ESLintUtils } from "@typescript-eslint/experimental-utils" ;
7
- import { TSESTree as es } from "@typescript-eslint/experimental-utils" ;
8
7
9
8
export const ruleCreator = ESLintUtils . RuleCreator (
10
9
( name ) =>
11
10
`https://github.com/cartant/eslint-plugin-rxjs-angular/tree/main/docs/rules/${ name } .md`
12
11
) ;
13
-
14
- // TODO: Remove when eslint-etc supports isPrivateIdentifier
15
- export function isPrivateIdentifier (
16
- node : es . Node
17
- ) : node is es . PrivateIdentifier {
18
- return node . type === "PrivateIdentifier" ;
19
- }
Original file line number Diff line number Diff line change @@ -712,14 +712,14 @@ escape-string-regexp@^1.0.5:
712
712
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
713
713
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
714
714
715
- eslint-etc@^5.0 .0 :
716
- version "5.0.1 "
717
- resolved "https://registry.yarnpkg.com/eslint-etc/-/eslint-etc-5.0.1. tgz#c2caa5993cafb82fd6b57994a0ad231d7b0fe207 "
718
- integrity sha512-QfRKA46LdQTOT7T0rwZJJ2kirGJSP49GgyrtxRMaFF+m04efkqDYxfrhImpP1a/gh/XQzfWBvbU2Qr2vLJk4wQ ==
715
+ eslint-etc@^5.2 .0 :
716
+ version "5.2.0 "
717
+ resolved "https://registry.yarnpkg.com/eslint-etc/-/eslint-etc-5.2.0. tgz#c51c19a2ffb6447af76a1c5ffd13b9a212db859b "
718
+ integrity sha512-Gcm/NMa349FOXb1PEEfNMMyIANuorIc2/mI5Vfu1zENNsz+FBVhF62uY6gPUCigm/xDOc8JOnl+71WGnlzlDag ==
719
719
dependencies :
720
720
" @typescript-eslint/experimental-utils" " ^5.0.0"
721
721
tsutils "^3.17.1"
722
- tsutils-etc "^1.3.4 "
722
+ tsutils-etc "^1.4.1 "
723
723
724
724
eslint-import-resolver-node@^0.3.6 :
725
725
version "0.3.6"
@@ -2056,10 +2056,10 @@ tslib@^2.0.0:
2056
2056
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
2057
2057
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
2058
2058
2059
- tsutils-etc@^1.3.4 :
2060
- version "1.3.4 "
2061
- resolved "https://registry.yarnpkg.com/tsutils-etc/-/tsutils-etc-1.3.4. tgz#35def32592fe16f56bb5f0bdc9844acdad6c9bab "
2062
- integrity sha512-GOQJeZgE0rFiok0CsOrvNgLrIG5LiVEYtSiPHZz0KFFlSR8q3qXMkGZ3hOvFpBvB++B7PVEMhjQQmAF3tSFLKA ==
2059
+ tsutils-etc@^1.4.1 :
2060
+ version "1.4.1 "
2061
+ resolved "https://registry.yarnpkg.com/tsutils-etc/-/tsutils-etc-1.4.1. tgz#bd42a0079d534765ab314d087f8a89c77a68723f "
2062
+ integrity sha512-6UPYgc7OXcIW5tFxlsZF3OVSBvDInl/BkS3Xsu64YITXk7WrnWTVByKWPCThFDBp5gl5IGHOzGMdQuDCE7OL4g ==
2063
2063
dependencies :
2064
2064
" @types/yargs" " ^17.0.0"
2065
2065
yargs "^17.0.0"
You can’t perform that action at this time.
0 commit comments