From 9a8b6a82e2b37c2be50f9e5dae2b9da7d3caf7a5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 25 May 2018 01:01:22 +0200 Subject: [PATCH] lang/web: add doctor.el --- modules/lang/web/doctor.el | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 modules/lang/web/doctor.el diff --git a/modules/lang/web/doctor.el b/modules/lang/web/doctor.el new file mode 100644 index 000000000..c351f0c73 --- /dev/null +++ b/modules/lang/web/doctor.el @@ -0,0 +1,8 @@ +;;; lang/web/doctor.el -*- lexical-binding: t; -*- + +(unless (executable-find "js-beautify") + (warn! "Couldn't find js-beautify. Code formatting in JS/CSS/HTML modes will not work.")) + +(unless (executable-find "stylelint") + (warn! "Couldn't find stylelint. Linting for CSS modes will not work.")) +