Skip to main content

Module: eslint-config/src

Variables

eslintConfig

Const eslintConfig: Object

Type declaration

NameType
env{ browser: boolean = true; commonjs: boolean = true; es2017: boolean = true; es2020: boolean = true; es6: boolean = true; jest: boolean = true; node: boolean = true }
env.browserboolean
env.commonjsboolean
env.es2017boolean
env.es2020boolean
env.es6boolean
env.jestboolean
env.nodeboolean
extendsstring[]
parserstring
parserOptions{ ecmaVersion: number = 2020; extraFileExtensions: string[] ; project: string = './tsconfig.eslint.json'; sourceType: string = 'module'; warnOnUnsupportedTypeScriptVersion: boolean = false }
parserOptions.ecmaVersionnumber
parserOptions.extraFileExtensionsstring[]
parserOptions.projectstring
parserOptions.sourceTypestring
parserOptions.warnOnUnsupportedTypeScriptVersionboolean
rootboolean
rules{ @typescript-eslint/adjacent-overload-signatures: string = 'error'; @typescript-eslint/array-type: string = 'off'; @typescript-eslint/await-thenable: string = 'off'; @typescript-eslint/ban-ts-comment: (string | { minimumDescriptionLength: number = 3; ts-check: boolean = true; ts-expect-error: string = 'allow-with-description'; ts-ignore: string = 'allow-with-description'; ts-nocheck: boolean = true })[] ; @typescript-eslint/class-literal-property-style: string = 'error'; @typescript-eslint/consistent-type-definitions: string = 'error'; @typescript-eslint/default-param-last: string = 'error'; @typescript-eslint/dot-notation: (string | { allowKeywords: boolean = true; allowPattern: string = '(^[A-Z])|(^[a-z]+(_[a-z]+)+$)'; allowPrivateClassPropertyAccess: boolean = true })[] ; @typescript-eslint/explicit-function-return-type: string = 'off'; @typescript-eslint/explicit-member-accessibility: string = 'error'; @typescript-eslint/explicit-module-boundary-types: string = 'off'; @typescript-eslint/init-declarations: string = 'off'; @typescript-eslint/member-ordering: (string | { default: string[] })[] ; @typescript-eslint/no-base-to-string: string = 'error'; @typescript-eslint/no-dupe-class-members: string = 'error'; @typescript-eslint/no-duplicate-imports: (string | { includeExports: boolean = false })[] ; @typescript-eslint/no-empty-interface: string = 'off'; @typescript-eslint/no-explicit-any: string = 'off'; @typescript-eslint/no-extra-non-null-assertion: string = 'error'; @typescript-eslint/no-extraneous-class: string = 'error'; @typescript-eslint/no-floating-promises: string = 'error'; @typescript-eslint/no-for-in-array: string = 'error'; @typescript-eslint/no-implied-eval: string = 'error'; @typescript-eslint/no-invalid-this: string = 'error'; @typescript-eslint/no-invalid-void-type: string = 'error'; @typescript-eslint/no-misused-new: string = 'error'; @typescript-eslint/no-namespace: string = 'off'; @typescript-eslint/no-non-null-asserted-optional-chain: string = 'error'; @typescript-eslint/no-non-null-assertion: string = 'off'; @typescript-eslint/no-throw-literal: string = 'error'; @typescript-eslint/no-unnecessary-boolean-literal-compare: string = 'error'; @typescript-eslint/no-unnecessary-qualifier: string = 'error'; @typescript-eslint/no-unsafe-assignment: string = 'off'; @typescript-eslint/no-unsafe-call: string = 'off'; @typescript-eslint/no-unsafe-member-access: string = 'off'; @typescript-eslint/no-unsafe-return: string = 'off'; @typescript-eslint/no-unused-vars: string = 'off'; @typescript-eslint/no-use-before-define: string = 'off'; @typescript-eslint/no-useless-constructor: string = 'error'; @typescript-eslint/no-var-requires: string = 'error'; @typescript-eslint/prefer-as-const: string = 'error'; @typescript-eslint/prefer-for-of: string = 'error'; @typescript-eslint/prefer-includes: string = 'error'; @typescript-eslint/prefer-reduce-type-parameter: string = 'error'; @typescript-eslint/prefer-string-starts-ends-with: string = 'error'; @typescript-eslint/promise-function-async: string = 'off'; @typescript-eslint/require-await: string = 'error'; @typescript-eslint/restrict-plus-operands: string = 'off'; @typescript-eslint/switch-exhaustiveness-check: string = 'warn'; @typescript-eslint/unbound-method: string = 'error'; @typescript-eslint/unified-signatures: string = 'error'; accessor-pairs: string = 'off'; array-callback-return: string = 'error'; block-scoped-var: string = 'error'; callback-return: string = 'off'; capitalized-comments: string = 'off'; class-methods-use-this: string = 'off'; complexity: string = 'off'; consistent-return: string = 'off'; consistent-this: string[] ; constructor-super: string = 'off'; default-case: string = 'off'; dot-notation: string = 'off'; eqeqeq: string[] ; for-direction: string = 'off'; func-name-matching: string[] ; func-names: string[] ; func-style: string = 'off'; global-require: string = 'off'; guard-for-in: string = 'warn'; handle-callback-err: string = 'off'; id-blacklist: string = 'off'; id-length: string = 'off'; id-match: string = 'off'; init-declarations: string = 'off'; line-comment-position: string = 'off'; lines-between-class-members: (string | { exceptAfterSingleLine: boolean = true })[] ; max-depth: string = 'off'; max-lines: string = 'off'; max-nested-callbacks: string = 'off'; max-params: string = 'off'; max-statements: string = 'off'; max-statements-per-line: (string | { max: number = 1 })[] ; multiline-comment-style: string = 'off'; new-cap: string = 'off'; no-alert: string = 'error'; no-array-constructor: string = 'off'; no-await-in-loop: string = 'off'; no-bitwise: string = 'off'; no-buffer-constructor: string = 'error'; no-caller: string = 'error'; no-case-declarations: string = 'error'; no-catch-shadow: string = 'error'; no-class-assign: string = 'warn'; no-compare-neg-zero: string = 'error'; no-cond-assign: string = 'warn'; no-console: string = 'off'; no-const-assign: string = 'error'; no-constant-condition: string = 'off'; no-control-regex: string = 'off'; no-debugger: string = 'error'; no-delete-var: string = 'error'; no-div-regex: string = 'off'; no-dupe-args: string = 'error'; no-dupe-class-members: string = 'off'; no-dupe-keys: string = 'error'; no-duplicate-case: string = 'error'; no-duplicate-imports: string = 'off'; no-else-return: string = 'warn'; no-empty: string = 'off'; no-empty-character-class: string = 'error'; no-empty-function: string = 'off'; no-empty-pattern: string = 'off'; no-eq-null: string = 'warn'; no-eval: string = 'warn'; no-ex-assign: string = 'off'; no-extend-native: string = 'warn'; no-extra-bind: string = 'off'; no-extra-boolean-cast: string = 'off'; no-extra-label: string = 'warn'; no-fallthrough: string = 'off'; no-func-assign: string = 'off'; no-global-assign: string = 'off'; no-implicit-coercion: string = 'error'; no-implicit-globals: string = 'off'; no-implied-eval: string = 'off'; no-import-assign: string = 'warn'; no-inline-comments: string = 'off'; no-inner-declarations: string = 'off'; no-invalid-regexp: string = 'warn'; no-invalid-this: string = 'off'; no-irregular-whitespace: (string | { skipComments: boolean = true; skipRegExps: boolean = true; skipStrings: boolean = true; skipTemplates: boolean = true })[] ; no-iterator: string = 'off'; no-label-var: string = 'error'; no-labels: string = 'off'; no-lone-blocks: string = 'off'; no-lonely-if: string = 'error'; no-loop-func: string = 'off'; no-magic-numbers: string = 'off'; no-mixed-requires: string = 'error'; no-multi-assign: string = 'warn'; no-multi-str: string = 'error'; no-negated-condition: string = 'warn'; no-nested-ternary: string = 'off'; no-new: string = 'off'; no-new-func: string = 'warn'; no-new-object: string = 'error'; no-new-require: string = 'error'; no-new-symbol: string = 'warn'; no-new-wrappers: string = 'warn'; no-obj-calls: string = 'warn'; no-octal: string = 'error'; no-octal-escape: string = 'error'; no-param-reassign: string = 'off'; no-path-concat: string = 'warn'; no-plusplus: string = 'off'; no-process-env: string = 'off'; no-process-exit: string = 'off'; no-proto: string = 'off'; no-prototype-builtins: string = 'off'; no-redeclare: string = 'off'; no-regex-spaces: string = 'warn'; no-restricted-globals: string = 'off'; no-restricted-imports: string = 'off'; no-restricted-modules: string = 'off'; no-restricted-properties: string = 'off'; no-restricted-syntax: string = 'off'; no-return-assign: string = 'off'; no-return-await: string = 'warn'; no-script-url: string = 'off'; no-self-assign: string = 'error'; no-self-compare: string = 'warn'; no-setter-return: string = 'warn'; no-shadow: string = 'off'; no-shadow-restricted-names: string = 'error'; no-sparse-arrays: string = 'warn'; no-sync: string = 'off'; no-template-curly-in-string: string = 'error'; no-ternary: string = 'off'; no-this-before-super: string = 'error'; no-throw-literal: string = 'off'; no-undef: string = 'off'; no-undef-init: string = 'off'; no-undefined: string = 'off'; no-underscore-dangle: string = 'off'; no-unmodified-loop-condition: string = 'off'; no-unneeded-ternary: string = 'off'; no-unreachable: string = 'warn'; no-unsafe-finally: string = 'warn'; no-unsafe-negation: string = 'error'; no-unused-expressions: string = 'off'; no-unused-labels: string = 'error'; no-unused-vars: string = 'off'; no-use-before-define: string = 'off'; no-useless-call: string = 'off'; no-useless-computed-key: string = 'error'; no-useless-concat: string = 'warn'; no-useless-constructor: string = 'off'; no-useless-escape: string = 'off'; no-useless-rename: string = 'error'; no-useless-return: string = 'warn'; no-var: string = 'error'; no-void: string = 'off'; no-warning-comments: string = 'off'; no-with: string = 'error'; object-shorthand: string[] ; one-var: string[] ; operator-assignment: string[] ; padding-line-between-statements: string = 'off'; prefer-const: (string | { destructuring: string = 'all' })[] ; prefer-destructuring: (string | { AssignmentExpression: { array: boolean = true; object: boolean = false } ; VariableDeclarator: { array: boolean = false; object: boolean = true } })[] ; prefer-numeric-literals: string = 'off'; prefer-promise-reject-errors: string = 'error'; prefer-rest-params: string = 'warn'; prefer-spread: string = 'error'; prefer-template: string = 'warn'; radix: string = 'error'; require-await: string = 'off'; require-jsdoc: string = 'off'; require-yield: string = 'warn'; sort-imports: string = 'off'; sort-keys: string = 'off'; sort-vars: string = 'off'; spaced-comment: string[] ; strict: string[] ; symbol-description: string = 'warn'; use-isnan: string = 'error'; valid-jsdoc: string = 'off'; valid-typeof: string = 'error'; vars-on-top: string = 'off'; yoda: string = 'error' }
rules.@typescript-eslint/adjacent-overload-signaturesstring
rules.@typescript-eslint/array-typestring
rules.@typescript-eslint/await-thenablestring
rules.@typescript-eslint/ban-ts-comment(string | { minimumDescriptionLength: number = 3; ts-check: boolean = true; ts-expect-error: string = 'allow-with-description'; ts-ignore: string = 'allow-with-description'; ts-nocheck: boolean = true })[]
rules.@typescript-eslint/class-literal-property-stylestring
rules.@typescript-eslint/consistent-type-definitionsstring
rules.@typescript-eslint/default-param-laststring
rules.@typescript-eslint/dot-notation(string | { allowKeywords: boolean = true; allowPattern: string = '(^[A-Z])|(^[a-z]+(_[a-z]+)+$)'; allowPrivateClassPropertyAccess: boolean = true })[]
rules.@typescript-eslint/explicit-function-return-typestring
rules.@typescript-eslint/explicit-member-accessibilitystring
rules.@typescript-eslint/explicit-module-boundary-typesstring
rules.@typescript-eslint/init-declarationsstring
rules.@typescript-eslint/member-ordering(string | { default: string[] })[]
rules.@typescript-eslint/no-base-to-stringstring
rules.@typescript-eslint/no-dupe-class-membersstring
rules.@typescript-eslint/no-duplicate-imports(string | { includeExports: boolean = false })[]
rules.@typescript-eslint/no-empty-interfacestring
rules.@typescript-eslint/no-explicit-anystring
rules.@typescript-eslint/no-extra-non-null-assertionstring
rules.@typescript-eslint/no-extraneous-classstring
rules.@typescript-eslint/no-floating-promisesstring
rules.@typescript-eslint/no-for-in-arraystring
rules.@typescript-eslint/no-implied-evalstring
rules.@typescript-eslint/no-invalid-thisstring
rules.@typescript-eslint/no-invalid-void-typestring
rules.@typescript-eslint/no-misused-newstring
rules.@typescript-eslint/no-namespacestring
rules.@typescript-eslint/no-non-null-asserted-optional-chainstring
rules.@typescript-eslint/no-non-null-assertionstring
rules.@typescript-eslint/no-throw-literalstring
rules.@typescript-eslint/no-unnecessary-boolean-literal-comparestring
rules.@typescript-eslint/no-unnecessary-qualifierstring
rules.@typescript-eslint/no-unsafe-assignmentstring
rules.@typescript-eslint/no-unsafe-callstring
rules.@typescript-eslint/no-unsafe-member-accessstring
rules.@typescript-eslint/no-unsafe-returnstring
rules.@typescript-eslint/no-unused-varsstring
rules.@typescript-eslint/no-use-before-definestring
rules.@typescript-eslint/no-useless-constructorstring
rules.@typescript-eslint/no-var-requiresstring
rules.@typescript-eslint/prefer-as-conststring
rules.@typescript-eslint/prefer-for-ofstring
rules.@typescript-eslint/prefer-includesstring
rules.@typescript-eslint/prefer-reduce-type-parameterstring
rules.@typescript-eslint/prefer-string-starts-ends-withstring
rules.@typescript-eslint/promise-function-asyncstring
rules.@typescript-eslint/require-awaitstring
rules.@typescript-eslint/restrict-plus-operandsstring
rules.@typescript-eslint/switch-exhaustiveness-checkstring
rules.@typescript-eslint/unbound-methodstring
rules.@typescript-eslint/unified-signaturesstring
rules.accessor-pairsstring
rules.array-callback-returnstring
rules.block-scoped-varstring
rules.callback-returnstring
rules.capitalized-commentsstring
rules.class-methods-use-thisstring
rules.complexitystring
rules.consistent-returnstring
rules.consistent-thisstring[]
rules.constructor-superstring
rules.default-casestring
rules.dot-notationstring
rules.eqeqeqstring[]
rules.for-directionstring
rules.func-name-matchingstring[]
rules.func-namesstring[]
rules.func-stylestring
rules.global-requirestring
rules.guard-for-instring
rules.handle-callback-errstring
rules.id-blackliststring
rules.id-lengthstring
rules.id-matchstring
rules.init-declarationsstring
rules.line-comment-positionstring
rules.lines-between-class-members(string | { exceptAfterSingleLine: boolean = true })[]
rules.max-depthstring
rules.max-linesstring
rules.max-nested-callbacksstring
rules.max-paramsstring
rules.max-statementsstring
rules.max-statements-per-line(string | { max: number = 1 })[]
rules.multiline-comment-stylestring
rules.new-capstring
rules.no-alertstring
rules.no-array-constructorstring
rules.no-await-in-loopstring
rules.no-bitwisestring
rules.no-buffer-constructorstring
rules.no-callerstring
rules.no-case-declarationsstring
rules.no-catch-shadowstring
rules.no-class-assignstring
rules.no-compare-neg-zerostring
rules.no-cond-assignstring
rules.no-consolestring
rules.no-const-assignstring
rules.no-constant-conditionstring
rules.no-control-regexstring
rules.no-debuggerstring
rules.no-delete-varstring
rules.no-div-regexstring
rules.no-dupe-argsstring
rules.no-dupe-class-membersstring
rules.no-dupe-keysstring
rules.no-duplicate-casestring
rules.no-duplicate-importsstring
rules.no-else-returnstring
rules.no-emptystring
rules.no-empty-character-classstring
rules.no-empty-functionstring
rules.no-empty-patternstring
rules.no-eq-nullstring
rules.no-evalstring
rules.no-ex-assignstring
rules.no-extend-nativestring
rules.no-extra-bindstring
rules.no-extra-boolean-caststring
rules.no-extra-labelstring
rules.no-fallthroughstring
rules.no-func-assignstring
rules.no-global-assignstring
rules.no-implicit-coercionstring
rules.no-implicit-globalsstring
rules.no-implied-evalstring
rules.no-import-assignstring
rules.no-inline-commentsstring
rules.no-inner-declarationsstring
rules.no-invalid-regexpstring
rules.no-invalid-thisstring
rules.no-irregular-whitespace(string | { skipComments: boolean = true; skipRegExps: boolean = true; skipStrings: boolean = true; skipTemplates: boolean = true })[]
rules.no-iteratorstring
rules.no-label-varstring
rules.no-labelsstring
rules.no-lone-blocksstring
rules.no-lonely-ifstring
rules.no-loop-funcstring
rules.no-magic-numbersstring
rules.no-mixed-requiresstring
rules.no-multi-assignstring
rules.no-multi-strstring
rules.no-negated-conditionstring
rules.no-nested-ternarystring
rules.no-newstring
rules.no-new-funcstring
rules.no-new-objectstring
rules.no-new-requirestring
rules.no-new-symbolstring
rules.no-new-wrappersstring
rules.no-obj-callsstring
rules.no-octalstring
rules.no-octal-escapestring
rules.no-param-reassignstring
rules.no-path-concatstring
rules.no-plusplusstring
rules.no-process-envstring
rules.no-process-exitstring
rules.no-protostring
rules.no-prototype-builtinsstring
rules.no-redeclarestring
rules.no-regex-spacesstring
rules.no-restricted-globalsstring
rules.no-restricted-importsstring
rules.no-restricted-modulesstring
rules.no-restricted-propertiesstring
rules.no-restricted-syntaxstring
rules.no-return-assignstring
rules.no-return-awaitstring
rules.no-script-urlstring
rules.no-self-assignstring
rules.no-self-comparestring
rules.no-setter-returnstring
rules.no-shadowstring
rules.no-shadow-restricted-namesstring
rules.no-sparse-arraysstring
rules.no-syncstring
rules.no-template-curly-in-stringstring
rules.no-ternarystring
rules.no-this-before-superstring
rules.no-throw-literalstring
rules.no-undefstring
rules.no-undef-initstring
rules.no-undefinedstring
rules.no-underscore-danglestring
rules.no-unmodified-loop-conditionstring
rules.no-unneeded-ternarystring
rules.no-unreachablestring
rules.no-unsafe-finallystring
rules.no-unsafe-negationstring
rules.no-unused-expressionsstring
rules.no-unused-labelsstring
rules.no-unused-varsstring
rules.no-use-before-definestring
rules.no-useless-callstring
rules.no-useless-computed-keystring
rules.no-useless-concatstring
rules.no-useless-constructorstring
rules.no-useless-escapestring
rules.no-useless-renamestring
rules.no-useless-returnstring
rules.no-varstring
rules.no-voidstring
rules.no-warning-commentsstring
rules.no-withstring
rules.object-shorthandstring[]
rules.one-varstring[]
rules.operator-assignmentstring[]
rules.padding-line-between-statementsstring
rules.prefer-const(string | { destructuring: string = 'all' })[]
rules.prefer-destructuring(string | { AssignmentExpression: { array: boolean = true; object: boolean = false } ; VariableDeclarator: { array: boolean = false; object: boolean = true } })[]
rules.prefer-numeric-literalsstring
rules.prefer-promise-reject-errorsstring
rules.prefer-rest-paramsstring
rules.prefer-spreadstring
rules.prefer-templatestring
rules.radixstring
rules.require-awaitstring
rules.require-jsdocstring
rules.require-yieldstring
rules.sort-importsstring
rules.sort-keysstring
rules.sort-varsstring
rules.spaced-commentstring[]
rules.strictstring[]
rules.symbol-descriptionstring
rules.use-isnanstring
rules.valid-jsdocstring
rules.valid-typeofstring
rules.vars-on-topstring
rules.yodastring

Defined in

projects/utilities/packages/eslint-config/src/index.ts:10