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)
(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
:functions (project-forget-zombie-projects
project-remember-projects-under)

View file

@ -9,33 +9,85 @@
;; Theme
base16-theme
;; 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
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
tempel license-templates gitignore-templates
tempel
license-templates
gitignore-templates
;; spell-checking
flyspell-correct
;; password-store
pass password-store
pass
password-store
;; 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
emms
;; org-mode
org-roam org-noter org-journal
org-roam
org-noter
org-journal
;; org-cite
citar citar-embark
citar
citar-embark
;; org-mode HTML export
htmlize
;; Projects
ibuffer-project magit forge treemacs treemacs-nerd-icons
ibuffer-project
magit
forge
treemacs
treemacs-nerd-icons
;; Writing
markdown-mode pandoc-mode auctex auctex-latexmk latex-preview-pane
markdown-mode
pandoc-mode
auctex
auctex-latexmk
latex-preview-pane
;; Contacts
bbdb mu4e ement
bbdb
mu4e
ement
;; RSS feeds
elfeed elfeed-org elfeed-tube
elfeed
elfeed-org
elfeed-tube
))
(package-install-selected-packages)
(package-autoremove)