pug-lint - An unopinionated and configurable linter and style checker for Pug

  •        57

An unopinionated and configurable linter and style checker for Pug (formerly Jade)

https://github.com/pugjs/pug-lint

Dependencies:

acorn : ^4.0.1
commander : ^2.9.0
css-selector-parser : ^1.1.0
find-line-column : ^0.5.2
glob : ^7.0.3
minimatch : ^3.0.3
path-is-absolute : ^1.0.0
pug-attrs : ^2.0.1
pug-error : ^1.3.0
pug-lexer : ^2.0.1
resolve : ^1.1.7
strip-json-comments : ^2.0.1
void-elements : ^2.0.1

Tags
Implementation
License
Platform

   




Related Projects

vim-pug - Vim Pug (formerly Jade) template engine syntax highlighting and indention

  •    Vim

Vim syntax highlighting for Pug (formerly Jade) templates. For best results consider using this with an (improved) HTML5 syntax plugin.

syntastic - Syntax checking hacks for vim

  •    Vim

Syntastic is a syntax checking plugin for Vim created by Martin Grenfell. It runs files through external syntax checkers and displays any resulting errors to the user. This can be done on demand, or automatically as files are saved. If syntax errors are detected, the user is notified and is happy because they didn't have to compile their code or execute their script to find them. At the time of this writing, syntastic has checking plugins for ACPI Source Language, ActionScript, Ada, Ansible configurations, API Blueprint, AppleScript, AsciiDoc, Assembly languages, BEMHTML, Bro, Bourne shell, C, C++, C#, Cabal, Chef, CMake, CoffeeScript, Coco, Coq, CSS, Cucumber, CUDA, D, Dart, DocBook, Dockerfile, Dust, Elixir, Erlang, eRuby, Fortran, Gentoo metadata, GLSL, Go, Haml, Haskell, Haxe, Handlebars, HSS, HTML, Java, JavaScript, JSON, JSX, Julia, LESS, Lex, Limbo, LISP, LLVM intermediate language, Lua, Markdown, MATLAB, Mercury, NASM, Nix, Objective-C, Objective-C++, OCaml, Perl, Perl 6, Perl POD, PHP, gettext Portable Object, OS X and iOS property lists, Pug (formerly Jade), Puppet, Python, QML, R, Racket, RDF TriG, RDF Turtle, Relax NG, reStructuredText, RPM spec, Ruby, SASS/SCSS, Scala, Slim, SML, Solidity, Sphinx, SQL, Stylus, Tcl, TeX, Texinfo, Twig, TypeScript, Vala, Verilog, VHDL, Vim help, VimL, Vue.js, xHtml, XML, XSLT, XQuery, YACC, YAML, YANG data models, YARA rules, z80, Zope page templates, and Zsh. See the manual for details about the corresponding supported checkers (:help syntastic-checkers in Vim).

atom-beautify - :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github

  •    CoffeeScript

Atom-Beautify respects the core.telemetryConsent configuration option from Atom editor. If you do not wish to have usage data sent to Google Analytics then please set core.telemetryConsent to no or undecided option before using Atom-Beautify. See Anonymous Analytics section of docs for details. Thank you. Atom-Beautify is going to be completely rewritten with Unibeautify at its core! See unibeautify branch for work in progress and Issue #1174.

handlebars-layouts - Handlebars helpers which implement layout blocks similar to Jinja, Nunjucks (Swig), Pug (Jade), and Twig

  •    Javascript

Handlebars helpers which implement layout blocks similar to Jade, Jinja, Nunjucks, Swig, and Twig.Helpers are generated by passing in your instance of Handlebars. This allows you to selectively register the helpers on various instances of Handlebars.


templatizer - Simple solution for compiling jade templates into vanilla JS functions for blazin' fast client-side use

  •    Javascript

Simple solution for compiling jade templates into vanilla JS functions for blazin' fast client-side use. If you're looking for something that works with pug, check out puglatizer.

bemto - Smart mixins for writing BEM in Pug

  •    HTML

“Block” is the main thing there. It creates the block from the first passed class and creates the context for all nested elements.

angular.js - AngularJS - HTML enhanced for web apps!

  •    Javascript

AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade/Pug and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding. To help you structure your application better and make it easy to test, AngularJS teaches the browser how to do dependency injection and inversion of control.We've set up a separate document for our contribution guidelines.

pug - Pug – robust, elegant, feature rich template engine for Node.js

  •    Javascript

Pug is a high performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers. For bug reports, feature requests and questions, open an issue. For discussion join the chat room.You can test drive Pug online here.

stylint - Improve your Stylus code with Stylint

  •    CSS

NOTE: We are currently working on a 2.0 release. Bug fixing will not be a priority during this process, but we will try to make sure every bug is squashed after that. Follow the project, milestone and issue for progress. Please contribute if you have the time! Both with code, but also with ideas and features.

grunt-contrib-pug - Compile Pug templates.

  •    Javascript

Run this task with the grunt pug command. Task targets, files and options may be specified according to the grunt Configuring tasks guide.

pug-loader - Pug loader module for Webpack

  •    Javascript

Pug loader module for webpack

lint-staged - 🚫💩 — Run linters on git staged files

  •    Javascript

Linting makes more sense when running before committing your code. By doing that you can ensure no errors are going into repository and enforce code style. But running a lint process on a whole project is slow and linting results can be irrelevant. Ultimately you only want to lint files that will be committed. This project contains a script that will run arbitrary npm and shell tasks with a list of staged files as an argument, filtered by a specified glob pattern.

ReLaXed - Create PDF documents using web technologies

  •    Javascript

ReLaXed creates PDF documents interactively using HTML or Pug (a shorthand for HTML). It allows complex layouts to be defined with CSS and JavaScript, while writing the content in a friendly, minimal syntax close to Markdown or LaTeX. ReLaXed has support for Markdown, LaTeX-style mathematical equations (via MathJax), CSV conversion to HTML tables, plot generation (via Vega-Lite or Chart.js), and diagram generation (via mermaid). Many more features can be added simply by importing an existing JavaScript or CSS framework.

eslint_d.js - Makes eslint the fastest linter on the planet

  •    Javascript

Makes eslint the fastest linter on the planet.Yes, it's actually super fast. But the node.js startup time and loading all the required modules slows down linting times for a single file to ~700 milliseconds. eslint_d reduces this overhead by running a server in the background. It brings the linting time down to ~160 milliseconds. If you want to lint from within your editor whenever you save a file, eslint_d is for you.

stylelint-scss - A collection of SCSS specific linting rules for stylelint

  •    Javascript

A collection of SCSS specific linting rules for stylelint (in a form of a plugin). stylelint by itself supports SCSS syntax very well (as well as other preprocessors' syntaxes). Moreover, it introduces some specific rules that can be used to lint SCSS, e.g. to limit nesting, control the way @-rules are written. Yet stylelint is in general focused on standard CSS.