Skip to content

Commit

Permalink
Update linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Jul 24, 2020
1 parent 711c546 commit d87e943
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .eslintrcts.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@
"keyword-spacing": [1, {"before": true, "after": true}],
"space-before-blocks": [1, "always"],
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/camelcase": ["error", { "properties": "never" }],
"camelcase": ["error", { "properties": "never" }],
"@typescript-eslint/ban-ts-ignore": 0,
"no-unused-vars": 0,
"strict": ["error", "never" ],
"no-var": 2
"no-var": 2,
"@typescript-eslint/explicit-module-boundary-types": 0
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
"homepage": "https://github.com/matrix-org/matrix-appservice-bridge#readme",
"dependencies": {
"@types/express": "^4.17.7",
"bluebird": "^2.9.34",
"extend": "^3.0.0",
"bluebird": "^3.7.2",
"extend": "^3.0.2",
"is-my-json-valid": "^2.20.5",
"js-yaml": "^3.14.0",
"matrix-appservice": "^0.4.2",
"matrix-js-sdk": "^6.0.0",
"nedb": "^1.1.3",
"nopt": "^3.0.3",
"nedb": "^1.8.3",
"nopt": "^4.0.3",
"p-queue": "^6.6.0",
"prom-client": "^12.0.0",
"request": "^2.88.2"
Expand Down
3 changes: 3 additions & 0 deletions src/components/state-lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ interface StateLookupRoom {
}

interface StateLookupEvent {
// eslint-disable-next-line camelcase
room_id: string;
// eslint-disable-next-line camelcase
state_key: string;
type: string;
// eslint-disable-next-line camelcase
event_id: string;
}

Expand Down

0 comments on commit d87e943

Please sign in to comment.