Project-specific ESLint rules.
var rules = require( '@stdlib/_tools/eslint/rules' );Project-specific ESLint rules.
var eslint = rules;
// returns {...}capitalized-comments: ESLint rule to enforce that comments start with an uppercase letter.doctest-annotation-spacing: ESLint rule to enforce spacing in return annotations in single-line comments.doctest-marker: ESLint rule to enforce marker style conventions for return annotations.doctest-quote-props: ESLint rule to enforce that property names in return annotations are quoted using single quotes.doctest: ESLint rule to ensure return annotations match the actual output.empty-line-before-comment: ESLint rule to enforce empty lines before comments.eol-open-bracket-spacing: ESLint rule to enforce that no spaces are present between an opening parenthesis or bracket and a nested object or array expression at the end of a line.first-unit-test: ESLint rule to enforce that a tape file starts with the expected test.line-closing-bracket-spacing: ESLint rule to enforce that no spaces are present between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line.module-exports-last: ESLint rule enforcing that export statements appear at the end of a file.namespace-export-all: ESLint rule to enforce that a namespaceindex.jsexports all packages in the respective namespace directory.namespace-index-order: ESLint rule to enforce that modules in a namespaceindex.jsfile are listed in alphabetical order according to module name.new-cap-array: ESLint rule enforcing that theArrayconstructor is invoked with thenewkeyword.new-cap-error: ESLint rule enforcing that error constructors are invoked with thenewkeyword.new-cap-regexp: ESLint rule enforcing that theRegExpconstructor is invoked with thenewkeyword.no-bench-string-concat: ESLint rule enforcing that@stdlib/string/formatis used instead of string concatenation in benchmark descriptions.no-builtin-big-int: ESLint rule disallowing the use of the built-in globalBigIntliteral syntax and constructor.no-builtin-math: ESLint rule enforcing thatstdlibequivalents are used instead of the built-in globalMathobject.no-dynamic-exports: ESLint rule enforcing that only statically analyzable values are exported.no-dynamic-require: ESLint rule enforcing thatrequire()calls have only string literals as arguments.no-empty-comments: ESLint rule to disallow empty comments.no-empty-lines-between-requires: ESLint rule to enforce no empty lines between module-level require statements.no-error-string-concat: ESLint rule disallowing string concatenation in error messages.no-immediate-require: ESLint rule enforcing thatrequire()expressions are not immediately invoked.no-internal-require: ESLint rule disallowingrequire()calls into internals of another stdlib package.no-multiple-empty-lines: ESLint rule to enforce that code does not contain multiple blank lines.no-nested-require: ESLint rule enforcing that one does not use nested property access forrequire()expressions.no-new-array: ESLint rule disallowing the use of thenew Array()constructor.no-redeclare: ESLint rule disallowing variable redeclarations.no-require-absolute-path: ESLint rule disallowingrequire()statements containing absolute file paths.no-require-index: ESLint rule disallowingrequire()calls which explicitly requireindex.<ext>files.no-self-require: ESLint rule enforcing that modules do not require themselves.no-unassigned-require: ESLint rule forbidding unassigned require statements.no-unnecessary-nested-functions: ESLint rule to prevent unnecessary function nesting when inner functions don't depend on outer scope variables.repl-namespace-order: ESLint rule to enforce that packages are added to a REPL namespace object in alphabetical order according to alias (namespace key).require-file-extensions: ESLint rule enforcing thatrequire()calls of files end with a whitelisted file extension.require-globals: ESLint rule enforcing that specified global variables are explicitly required.require-last-path-relative: ESLint rule enforcing that the lastrequirestatement is a relative path.require-leading-slash: ESLint rule disallowingrequire()calls of relative paths which do not begin with a leading./.require-order: ESLint rule enforcing a specified order ofrequire()calls.require-spaces: ESLint rule enforcing spaces inrequire()statements.section-header-empty-lines: ESLint rule to enforce that section header comments are padded by empty lines.section-headers: ESLint rule to enforce formatting of section header comments.ternary-condition-parentheses: ESLint rule requiring parentheses around ternary conditions.tsdoc-declarations-doctest: ESLint rule to ensure that return annotations in TSDoc examples match the actual output in TypeScript declaration files (*.d.ts).uppercase-required-constants: ESLint rule enforcing that requiredstdlibconstants have uppercase variable names.vars-order: ESLint rule enforcing variable declarations inside of functions to be ordered by length.
jsdoc-blockquote-indentation: ESLint rule to enforce Markdown blockquote indentation in JSDoc descriptions.jsdoc-checkbox-character-style: ESLint rule to enforce that Markdown checkboxes follow a specified style in JSDoc descriptions.jsdoc-checkbox-content-indent: ESLint rule to prevent Markdown checkboxes being followed by too much whitespace in JSDoc descriptions.jsdoc-code-block-style: ESLint rule to require that Markdown code blocks adhere to a specific style in JSDoc descriptions.jsdoc-definition-case: ESLint rule to require Markdown definition labels in JSDoc descriptions to be lowercased.jsdoc-definition-spacing: ESLint rule to prevent consecutive whitespace in Markdown definition labels in JSDoc descriptions.jsdoc-doctest-decimal-point: ESLint rule to ensure that only return annotations for real-valued return values always contain decimal points.jsdoc-doctest-marker: ESLint rule to enforce marker style conventions for return annotations in example code.jsdoc-doctest-quote-props: ESLint rule to enforce that property names in return annotations inside of example code are quoted using single quotes.jsdoc-doctest: ESLint rule to ensure that return annotations in example code match the actual output.jsdoc-emphasis-marker: ESLint rule to enforce a specific Markdown emphasis marker in JSDoc descriptions.jsdoc-empty-line-before-example: ESLint rule to enforce empty lines before JSDoc@exampletags.jsdoc-example-require-spacing: ESLint rule to enforce empty lines betweenrequirestatements and code in JSDoc examples.jsdoc-fenced-code-flag: ESLint rule to enforce fenced Markdown code blocks to have a language flag in JSDoc descriptions.jsdoc-fenced-code-marker: ESLint rule to enforce a specific Markdown fenced code marker in JSDoc descriptions.jsdoc-final-definition: ESLint rule to require Markdown definitions in JSDoc descriptions be placed at the end of the description.jsdoc-first-heading-level: ESLint rule to require the first Markdown heading level be a specified level in JSDoc comments.jsdoc-hard-break-spaces: ESLint rule to prevent too many spaces from being used to hard break in JSDoc descriptions containing Markdown.jsdoc-heading-increment: ESLint rule to prevent Markdown headings from incrementing with more than one level at a time in JSDoc descriptions.jsdoc-heading-style: ESLint rule to enforce that Markdown headings follow a specified style in JSDoc descriptions.jsdoc-leading-description-sentence: ESLint rule to enforce that JSDoc descriptions start with an uppercase letter or number and end with a period.jsdoc-license-header-year: ESLint rule to enforce that the copyright year in a stdlib license year matches the year the file was created.jsdoc-linebreak-style: ESLint rule to enforce that linebreaks follow a given or detected style in JSDoc comments.jsdoc-link-title-style: ESLint rule to enforce that link and definition titles use specified quotes in JSDoc descriptions.jsdoc-list-item-bullet-indent: ESLint rule to prevent unnecessary indentation of Markdown list item bullets in JSDoc descriptions.jsdoc-list-item-content-indent: ESLint rule to prevent mixed indentation in Markdown list item content in JSDoc descriptions.jsdoc-list-item-indent: ESLint rule to enforce spacing between a list item’s bullet and its content to match a given style in JSDoc descriptions.jsdoc-list-item-spacing: ESLint rule to enforce consistent list item spacing in JSDoc descriptions.jsdoc-main-export: ESLint rule to enforce that the JSDoc comment documenting a package's main export adheres tostdlibconventions and contains the correct package path.jsdoc-markdown-remark: ESLint rule to lint JSDoc descriptions using remark.jsdoc-maximum-heading-length: ESLint rule to prevent Markdown headings from having too many characters in JSDoc descriptions.jsdoc-maximum-line-length: ESLint rule to prevent lines in JSDoc descriptions from having too many characters.jsdoc-no-auto-link-without-protocol: ESLint rule to require angle-bracketed Markdown links to contain protocols in JSDoc descriptions.jsdoc-no-blockquote-without-marker: ESLint rule to require blank lines in Markdown blockquotes have a marker in JSDoc descriptions.jsdoc-no-consecutive-blank-lines: ESLint rule to prevent too many consecutive blank lines in JSDoc descriptions.jsdoc-no-duplicate-definitions: ESLint rule to prevent duplicate Markdown definitions in JSDoc descriptions.jsdoc-no-duplicate-headings-in-section: ESLint rule to prevent duplicate Markdown headings in the same section in JSDoc descriptions.jsdoc-no-duplicate-headings: ESLint rule to prevent duplicate Markdown headings in JSDoc descriptions.jsdoc-no-duplicate-tags: ESLint rule to enforce that a JSDoc tag is only used once in a JSDoc comment.jsdoc-no-emphasis-as-heading: ESLint rule to prevent use of emphasis in place of a Markdown heading in JSDoc descriptions.jsdoc-no-empty-url: ESLint rule to prevent empty URLs in Markdown links and images in JSDoc descriptions.jsdoc-no-heading-content-indent: ESLint rule to prevent indentation of Markdown heading content in JSDoc descriptions.jsdoc-no-heading-indent: ESLint rule to prevent indentation of Markdown headings in JSDoc descriptions.jsdoc-no-heading-like-paragraph: ESLint rule to prevent Markdown paragraphs which appear to be h7+ "headings" in JSDoc descriptions.jsdoc-no-heading-punctuation: ESLint rule to prevent Markdown headings in JSDoc descriptions from ending with specified characters.jsdoc-no-html: ESLint rule to prevent HTML from being used in JSDoc descriptions.jsdoc-no-inline-padding: ESLint rule to prevent padding of Markdown inline nodes between their markers and content in JSDoc descriptions.jsdoc-no-literal-urls: ESLint rule to prevent URLs without angle-brackets from being used in JSDoc descriptions.jsdoc-no-missing-blank-lines: ESLint rule to require blank lines between Markdown block nodes in JSDoc descriptions.jsdoc-no-multiple-blank-lines: ESLint rule to prevent multiple blank lines in JSDoc comments.jsdoc-no-multiple-toplevel-headings: ESLint rule to prevent multiple top-level Markdown headings from being used in JSDoc descriptions.jsdoc-no-paragraph-content-indent: ESLint rule to prevent indentation of Markdown paragraph content in JSDoc descriptions.jsdoc-no-reference-like-url: ESLint rule to prevent Markdown references from being used like URLs in JSDoc descriptions.jsdoc-no-shell-dollars: ESLint rule to prevent shell code in Markdown fenced code blocks from being prefixed by dollar-characters in JSDoc descriptions.jsdoc-no-shortcut-reference-image: ESLint rule to prevent shortcut Markdown reference images from being used in JSDoc descriptions.jsdoc-no-shortcut-reference-link: ESLint rule to prevent shortcut Markdown reference links from being used in JSDoc descriptions.jsdoc-no-space-aligned-asterisks: ESLint rule to disallow space-aligned asterisks for JSDoc comments.jsdoc-no-table-indentation: ESLint rule to prevent unnecessary indentation of Markdown tables in JSDoc descriptions.jsdoc-no-tabs: ESLint rule forbidding the use of tabs in JSDoc comments.jsdoc-no-undefined-references: ESLint rule to prevent references to undefined Markdown definitions in JSDoc descriptions.jsdoc-no-unused-definitions: ESLint rule to prevent unused Markdown definitions in JSDoc descriptions.jsdoc-ordered-list-marker-style: ESLint rule to enforce a specified Markdown ordered list marker style in JSDoc descriptions.jsdoc-ordered-list-marker-value: ESLint rule to enforce a specified Markdown ordered list marker style in JSDoc descriptions.jsdoc-private-annotation: ESLint rule enforcing that JSDoc comments of unassigned function declarations have a@privatetag.jsdoc-require-throws-tags: ESLint rule enforcing that JSDoc comments of functions are not missing@throwstags.jsdoc-rule-style: ESLint rule to enforce a specified Markdown style for horizontal rules in JSDoc descriptions.jsdoc-strong-marker: ESLint rule to enforce a specific Markdown strong marker in JSDoc descriptions.jsdoc-table-cell-padding: ESLint rule to require Markdown table cells in JSDoc descriptions to be correctly padded.jsdoc-table-pipe-alignment: ESLint rule to require Markdown table pipe alignment in JSDoc descriptions.jsdoc-table-pipes: ESLint rule to require pipes as fences for Markdown table rows in JSDoc descriptions.jsdoc-tag-names: ESLint rule to enforce that only allowed JSDoc tags are used.jsdoc-tag-order: ESLint rule to enforce that JSDoc tags follow a specified order.jsdoc-tag-spacing: ESLint rule to enforce a padding style for JSDoc tags.jsdoc-typedef-typos: ESLint rule to catch typos in type definitions of JSDoc tags.jsdoc-unordered-list-marker-style: ESLint rule to enforce a specified Markdown unordered list marker style in JSDoc descriptions.
var getKeys = require( '@stdlib/utils/keys' );
var rules = require( '@stdlib/_tools/eslint/rules' );
console.log( getKeys( rules ) );