Add flymake-eslint package + config

This commit is contained in:
Evie Litherland-Smith 2024-06-25 07:32:02 +01:00
parent 2f0ebbf9b4
commit 6e450f8614
2 changed files with 69 additions and 11 deletions

View file

@ -949,6 +949,12 @@
(progn (flymake-mode +1) (progn (flymake-mode +1)
(flymake-yamllint-setup))))) (flymake-yamllint-setup)))))
(use-package flymake-eslint
:if (executable-find "eslint")
:functions flymake-eslint-enable
:requires flymake
:hook ((js-base-mode typescript-ts-base-mode) . flymake-eslint-enable))
(use-package project (use-package project
:functions (project-forget-zombie-projects :functions (project-forget-zombie-projects
project-remember-projects-under) project-remember-projects-under)

View file

@ -9,33 +9,85 @@
;; Theme ;; Theme
base16-theme base16-theme
;; UI ;; UI
all-the-icons nerd-icons nerd-icons-completion nerd-icons-corfu nerd-icons-dired nerd-icons-ibuffer doom-modeline diminish ligature page-break-lines helpful which-key ace-window link-hint diff-hl all-the-icons
nerd-icons
nerd-icons-completion
nerd-icons-corfu
nerd-icons-dired
nerd-icons-ibuffer
diminish
ligature
page-break-lines
helpful
which-key
ace-window
link-hint
diff-hl
;; Completion ;; Completion
cape consult consult-eglot consult-flyspell corfu corfu-terminal embark embark-consult marginalia orderless vertico cape
consult
consult-eglot
consult-flyspell
corfu
corfu-terminal
embark
embark-consult
marginalia
orderless
vertico
;; Templates ;; Templates
tempel license-templates gitignore-templates tempel
license-templates
gitignore-templates
;; spell-checking ;; spell-checking
flyspell-correct flyspell-correct
;; password-store ;; password-store
pass password-store pass
password-store
;; IDE ;; IDE
treesit-auto flymake-popon flymake-shellcheck flymake-yamllint apheleia envrc rainbow-delimiters aggressive-indent jupyter python-docstring nix-mode lua-mode treesit-auto
flymake-popon
flymake-shellcheck
flymake-yamllint
flymake-eslint
apheleia
envrc
rainbow-delimiters
aggressive-indent
python-docstring
nix-mode
lua-mode
;; Media ;; Media
emms emms
;; org-mode ;; org-mode
org-roam org-noter org-journal org-roam
org-noter
org-journal
;; org-cite ;; org-cite
citar citar-embark citar
citar-embark
;; org-mode HTML export ;; org-mode HTML export
htmlize htmlize
;; Projects ;; Projects
ibuffer-project magit forge treemacs treemacs-nerd-icons ibuffer-project
magit
forge
treemacs
treemacs-nerd-icons
;; Writing ;; Writing
markdown-mode pandoc-mode auctex auctex-latexmk latex-preview-pane markdown-mode
pandoc-mode
auctex
auctex-latexmk
latex-preview-pane
;; Contacts ;; Contacts
bbdb mu4e ement bbdb
mu4e
ement
;; RSS feeds ;; RSS feeds
elfeed elfeed-org elfeed-tube elfeed
elfeed-org
elfeed-tube
)) ))
(package-install-selected-packages) (package-install-selected-packages)
(package-autoremove) (package-autoremove)