Update emacs.org

This commit is contained in:
Sakooooo 2023-11-03 16:23:59 +04:00 committed by GitHub
parent e578a19141
commit ce8fb2e465
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)