File tree Expand file tree Collapse file tree 4 files changed +289
-397
lines changed Expand file tree Collapse file tree 4 files changed +289
-397
lines changed Original file line number Diff line number Diff line change 18
18
"devDependencies" : {
19
19
"@types/jest" : " 25.2.3" ,
20
20
"@types/node" : " 12.20.52" ,
21
- "@typescript-eslint/eslint-plugin" : " 2.34 .0" ,
22
- "@typescript-eslint/parser" : " 2.34 .0" ,
23
- "eslint" : " 6.8 .0" ,
21
+ "@typescript-eslint/eslint-plugin" : " ^5.23 .0" ,
22
+ "@typescript-eslint/parser" : " ^5.23 .0" ,
23
+ "eslint" : " 8.15 .0" ,
24
24
"eslint-config-prettier" : " 8.5.0" ,
25
25
"eslint-plugin-jest" : " 26.2.1" ,
26
- "eslint-plugin-prettier" : " 3.4.1 " ,
26
+ "eslint-plugin-prettier" : " ^4.0.0 " ,
27
27
"eslint-plugin-simple-import-sort" : " 7.0.0" ,
28
28
"jest" : " 25.5.4" ,
29
29
"prettier" : " 2.6.2" ,
Original file line number Diff line number Diff line change @@ -109,11 +109,9 @@ export default class Analyzer {
109
109
110
110
private treeSitterTypeToLSPKind : Kinds = {
111
111
// These keys are using underscores as that's the naming convention in tree-sitter.
112
- /* eslint-disable @typescript-eslint/camelcase */
113
112
environment_variable_assignment : LSP . SymbolKind . Variable ,
114
113
function_definition : LSP . SymbolKind . Function ,
115
114
variable_assignment : LSP . SymbolKind . Variable ,
116
- /* eslint-enable @typescript-eslint/camelcase */
117
115
}
118
116
119
117
public constructor ( parser : Parser ) {
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ export function formatManOutput(manOutput: string): string {
107
107
/**
108
108
* Only works for one-parameter (serializable) functions.
109
109
*/
110
+ /* eslint-disable @typescript-eslint/ban-types */
110
111
export function memorize < T extends Function > ( func : T ) : T {
111
112
const cache = new Map ( )
112
113
You can’t perform that action at this time.
0 commit comments