Skip to content

Commit d2190c1

Browse files
committed
Disable eslint rules where it makes sense
1 parent 450f265 commit d2190c1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

server/bin/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env node
2+
/* eslint-disable no-console */
23

34
const server = require('../out/index')
45
const package = require('../package')

server/src/analyser.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,11 @@ export default class Analyzer {
8989

9090
private treeSitterTypeToLSPKind: Kinds = {
9191
// These keys are using underscores as that's the naming convention in tree-sitter.
92+
/* eslint-disable @typescript-eslint/camelcase */
9293
environment_variable_assignment: LSP.SymbolKind.Variable,
9394
function_definition: LSP.SymbolKind.Function,
9495
variable_assignment: LSP.SymbolKind.Variable,
96+
/* eslint-enable @typescript-eslint/camelcase */
9597
}
9698

9799
public constructor(parser: Parser) {

0 commit comments

Comments
 (0)