Skip to content

Commit

Permalink
remove unwanted rules
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaji-kharse committed Jun 18, 2024
1 parent 8638f58 commit bd70ff6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
19 changes: 1 addition & 18 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = {
"@typescript-eslint/dot-notation": "error",
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/explicit-member-accessibility": [
"error",
"off",
{
"accessibility": "explicit"
}
Expand Down Expand Up @@ -439,29 +439,20 @@ module.exports = {
"error",
{
"rules": {
"chai-prefer-contains-to-index-of": true,
"chai-vague-errors": true,
"completed-docs": [
true,
"classes"
],
"encoding": true,
"function-name": true,
"import-spacing": true,
"informative-docs": true,
"jquery-deferred-must-complete": true,
"match-default-export-name": true,
"mocha-unneeded-done": true,
"no-disable-auto-sanitization": true,
"no-function-constructor-with-string-args": true,
"no-http-string": [
true,
"http://www.example.com/?.*",
"http://localhost:?.*"
],
"no-increment-decrement": true,
"no-inner-html": true,
"no-jquery-raw-elements": true,
"no-reserved-keywords": true,
"no-string-based-set-immediate": true,
"no-string-based-set-interval": true,
Expand All @@ -472,20 +463,12 @@ module.exports = {
"no-unnecessary-local-variable": true,
"no-unnecessary-override": true,
"no-unsafe-any": true,
"no-unsupported-browser-code": true,
"no-useless-files": true,
"number-literal-format": true,
"prefer-method-signature": true,
"prefer-type-cast": true,
"prefer-while": true,
"promise-must-complete": true,
"react-a11y-input-elements": true,
"react-a11y-meta": true,
"react-a11y-required": true,
"react-a11y-titles": true,
"react-anchor-blank-noopener": true,
"react-iframe-missing-sandbox": true,
"react-this-binding-issue": true,
"switch-final-break": true,
"use-named-parameter": true,
"use-simple-attributes": true,
Expand Down
1 change: 0 additions & 1 deletion src/clientStub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export class DgraphClientStub {
private autoRefresh: boolean;
private autoRefreshTimer?: number;

// eslint-disable-next-line @typescript-eslint/explicit-member-accessibility
constructor(
addr?: string,
stubConfig: {
Expand Down

0 comments on commit bd70ff6

Please sign in to comment.