From ce8fb2e465b9fb6ce470cda530b0c1016e9e3609 Mon Sep 17 00:00:00 2001 From: Sako <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 3 Nov 2023 16:23:59 +0400 Subject: [PATCH] Update emacs.org --- config/emacs/emacs.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 5fece0a6..4c3e018d 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -1368,6 +1368,19 @@ make sure to setup authinfo #+begin_src emacs-lisp (use-package format-all) #+end_src +*** Linting +#+begin_src emacs-lisp + (use-package flycheck + :ensure t + :init (global-flycheck-mode) + :diminish flycheck-mode + :config + (setq-default flycheck-disabled-checkers + (append flycheck-disabled-checkers + '(javascript-jshint json-jsonlist))) + (flycheck-add-mode 'javascript-eslint 'web-mode) + (add-hook 'after-init-hook #'global-flycheck-mode)) +#+end_src * Fonts #+begin_src emacs-lisp (set-face-attribute `default nil :font "JetBrains Mono" :height 125)