File tree 4 files changed +4
-11
lines changed
4 files changed +4
-11
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 699
699
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
700
700
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
701
701
702
- eslint-etc@^5.0 .0 :
702
+ eslint-etc@^5.2 .0 :
703
703
version "5.2.0"
704
704
resolved "https://registry.yarnpkg.com/eslint-etc/-/eslint-etc-5.2.0.tgz#c51c19a2ffb6447af76a1c5ffd13b9a212db859b"
705
705
integrity sha512-Gcm/NMa349FOXb1PEEfNMMyIANuorIc2/mI5Vfu1zENNsz+FBVhF62uY6gPUCigm/xDOc8JOnl+71WGnlzlDag==
You can’t perform that action at this time.
0 commit comments