diff --git a/.eslintrc.base.json b/.eslintrc.base.json index f8f6e8f1cb..2daaada608 100644 --- a/.eslintrc.base.json +++ b/.eslintrc.base.json @@ -22,7 +22,9 @@ "rules": { "@typescript-eslint/await-thenable": "off", "@typescript-eslint/ban-ts-ignore": "off", - "@typescript-eslint/camelcase": "error", + "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/ban-types": "off", + "@typescript-eslint/camelcase": "off", "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/explicit-member-accessibility": "off", "@typescript-eslint/no-empty-function": "off", @@ -64,7 +66,7 @@ "react/no-unused-state": "error", "react/prefer-stateless-function": "error", "react/prop-types": "error", - "react/require-default-props": "error", + "react/require-default-props": "off", "spaced-comment": [ "error", "always", diff --git a/packages/core/util/offscreenCanvasPonyfill.js b/packages/core/util/offscreenCanvasPonyfill.js index 6a6a07f7f2..a428af1808 100644 --- a/packages/core/util/offscreenCanvasPonyfill.js +++ b/packages/core/util/offscreenCanvasPonyfill.js @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/camelcase */ /* eslint-disable import/no-mutable-exports */ /* eslint-disable no-restricted-globals */ /* eslint-disable prefer-destructuring */ diff --git a/plugins/alignments/src/BamAdapter/BamSlightlyLazyFeature.ts b/plugins/alignments/src/BamAdapter/BamSlightlyLazyFeature.ts index 20c3d1a55d..e3c1c6b8f1 100644 --- a/plugins/alignments/src/BamAdapter/BamSlightlyLazyFeature.ts +++ b/plugins/alignments/src/BamAdapter/BamSlightlyLazyFeature.ts @@ -1,4 +1,4 @@ -/* eslint-disable @typescript-eslint/camelcase,no-underscore-dangle */ +/* eslint-disable no-underscore-dangle */ import { Feature, SimpleFeatureSerialized, diff --git a/plugins/alignments/src/CramAdapter/CramSlightlyLazyFeature.ts b/plugins/alignments/src/CramAdapter/CramSlightlyLazyFeature.ts index 99afa25b66..8fa485d2bf 100644 --- a/plugins/alignments/src/CramAdapter/CramSlightlyLazyFeature.ts +++ b/plugins/alignments/src/CramAdapter/CramSlightlyLazyFeature.ts @@ -1,4 +1,4 @@ -/* eslint-disable @typescript-eslint/camelcase,no-underscore-dangle */ +/* eslint-disable no-underscore-dangle */ import { Feature, SimpleFeatureSerialized, diff --git a/plugins/variants/src/VcfTabixAdapter/VcfFeature.ts b/plugins/variants/src/VcfTabixAdapter/VcfFeature.ts index f9998c0a65..54c6bbb250 100644 --- a/plugins/variants/src/VcfTabixAdapter/VcfFeature.ts +++ b/plugins/variants/src/VcfTabixAdapter/VcfFeature.ts @@ -1,6 +1,6 @@ import { Feature } from '@jbrowse/core/util/simpleFeature' -/* eslint-disable no-underscore-dangle, @typescript-eslint/camelcase */ +/* eslint-disable no-underscore-dangle */ /** * VCF Feature creation with lazy genotype evaluation. diff --git a/products/jbrowse-aws-lambda-functions/saved-sessions/jbrowse_analytics.js b/products/jbrowse-aws-lambda-functions/saved-sessions/jbrowse_analytics.js index d1dab44694..45677fcf78 100644 --- a/products/jbrowse-aws-lambda-functions/saved-sessions/jbrowse_analytics.js +++ b/products/jbrowse-aws-lambda-functions/saved-sessions/jbrowse_analytics.js @@ -1,6 +1,5 @@ // eslint-disable-next-line import/no-unresolved const AWS = require('aws-sdk') -// eslint-disable-next-line @typescript-eslint/camelcase const url_parser = require('url') const dynamo = new AWS.DynamoDB.DocumentClient() diff --git a/products/jbrowse-web/src/rpc.worker.ts b/products/jbrowse-web/src/rpc.worker.ts index 33a1e2cf0a..bd1bb2567c 100644 --- a/products/jbrowse-web/src/rpc.worker.ts +++ b/products/jbrowse-web/src/rpc.worker.ts @@ -1,4 +1,4 @@ -/* eslint-disable no-restricted-globals, no-console, @typescript-eslint/camelcase, react-hooks/rules-of-hooks */ +/* eslint-disable no-restricted-globals, no-console, react-hooks/rules-of-hooks */ import './workerPolyfill' import RpcServer from '@librpc/web'