Eslint Plugin Lodash Template

screenshot of Eslint Plugin Lodash Template
html
vitepress

ESLint plugin for John Resig-style micro template, Lodash's template, Underscore's template and EJS.

Overview

The eslint-plugin-lodash-template is an ESLint plugin that supports code checking for John Resig-style micro templates used in projects using Underscore.js and Lodash's template. It improves the readability of HTML templates and provides support for JavaScript (TypeScript) templates. It also has partial support for EJS.

Features

  • Enable ESLint in Underscore.js and Lodash's templates.
  • Find issues specific to template tags.
  • Improve readability of HTML templates.
  • Enable ESLint both inside and outside the template tag for JavaScript (TypeScript) templates (Experimental feature).
  • Partial support for EJS.

Summary

The eslint-plugin-lodash-template is a useful ESLint plugin that provides code checking support for John Resig-style micro templates used in projects using Underscore.js and Lodash's template. It improves the readability of HTML templates and provides additional features like finding issues specific to template tags and enabling ESLint both inside and outside the template tag for JavaScript (TypeScript) templates. It also has partial support for EJS.

html
HTML

HTML templates are pre-designed and pre-built web pages that can be customized and used as a basis for building websites. They often include common elements such as headers, footers, menus, and content sections, and can be easily edited using HTML and CSS to fit specific branding and content needs.

vitepress
Vitepress

VitePress is a static site generator designed for creating documentation websites. It offers a lightweight and fast development experience using Vue.js and Markdown, with features such as live-reload, theming, and customizable layout components.

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.