@unified-latex/unified-latex-lint
TypeScript icon, indicating that this package has built-in type declarations

1.7.1 • Public • Published

unified-latex-lint

What is this?

Linting functions for unified-latex ASTs. Lints are found in the rules/ subdirectory. Lints that can be fixed accept an optional {fix: boolean} argument.

When should I use this?

If you are building a linter for LaTeX code.

Install

npm install @unified-latex/unified-latex-lint

This package contains both esm and commonjs exports. To explicitly access the esm export, import the .js file. To explicitly access the commonjs export, import the .cjs file.

Constants

Name Type Description
lints { unifiedLatexLintArgumentColorCommands: Plugin<void[] | [{ fix?: boolean; } | [boolean | Label | Severity, { fix?: boolean; }?]], Root, Root>; ... 7 more ...; unifiedLatexLintPreferSetlength: Plugin<...>; } Object exporting all available lints.

Package Sidebar

Install

npm i @unified-latex/unified-latex-lint

Weekly Downloads

26

Version

1.7.1

License

MIT

Unpacked Size

186 kB

Total Files

60

Last publish

Collaborators

  • siefkenj