Skip to content

Commit bd70ff6

Browse files
remove unwanted rules
1 parent 8638f58 commit bd70ff6

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

.eslintrc.js

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module.exports = {
5353
"@typescript-eslint/dot-notation": "error",
5454
"@typescript-eslint/explicit-function-return-type": "error",
5555
"@typescript-eslint/explicit-member-accessibility": [
56-
"error",
56+
"off",
5757
{
5858
"accessibility": "explicit"
5959
}
@@ -439,29 +439,20 @@ module.exports = {
439439
"error",
440440
{
441441
"rules": {
442-
"chai-prefer-contains-to-index-of": true,
443-
"chai-vague-errors": true,
444442
"completed-docs": [
445443
true,
446444
"classes"
447445
],
448446
"encoding": true,
449447
"function-name": true,
450448
"import-spacing": true,
451-
"informative-docs": true,
452-
"jquery-deferred-must-complete": true,
453449
"match-default-export-name": true,
454450
"mocha-unneeded-done": true,
455-
"no-disable-auto-sanitization": true,
456-
"no-function-constructor-with-string-args": true,
457451
"no-http-string": [
458452
true,
459453
"http://www.example.com/?.*",
460454
"http://localhost:?.*"
461455
],
462-
"no-increment-decrement": true,
463-
"no-inner-html": true,
464-
"no-jquery-raw-elements": true,
465456
"no-reserved-keywords": true,
466457
"no-string-based-set-immediate": true,
467458
"no-string-based-set-interval": true,
@@ -472,20 +463,12 @@ module.exports = {
472463
"no-unnecessary-local-variable": true,
473464
"no-unnecessary-override": true,
474465
"no-unsafe-any": true,
475-
"no-unsupported-browser-code": true,
476466
"no-useless-files": true,
477467
"number-literal-format": true,
478468
"prefer-method-signature": true,
479469
"prefer-type-cast": true,
480470
"prefer-while": true,
481471
"promise-must-complete": true,
482-
"react-a11y-input-elements": true,
483-
"react-a11y-meta": true,
484-
"react-a11y-required": true,
485-
"react-a11y-titles": true,
486-
"react-anchor-blank-noopener": true,
487-
"react-iframe-missing-sandbox": true,
488-
"react-this-binding-issue": true,
489472
"switch-final-break": true,
490473
"use-named-parameter": true,
491474
"use-simple-attributes": true,

src/clientStub.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export class DgraphClientStub {
3838
private autoRefresh: boolean;
3939
private autoRefreshTimer?: number;
4040

41-
// eslint-disable-next-line @typescript-eslint/explicit-member-accessibility
4241
constructor(
4342
addr?: string,
4443
stubConfig: {

0 commit comments

Comments
 (0)