Files
.emacs.d/modules/linting/siren-flycheck.el
Jim Myhrberg fe6a4e7ce5 fix(elisp): add lexical-binding comment to all files to suppress new Emacs 31 warnings
I've set `lexical-binding` to `nil` in all Emacs Lisp files to suppress
the warnings introduced in Emacs 31 requiring all elisp files to have a
`lexical-binding` comment.

This retains the default behavior of dynamic binding when no
`lexical-binding` comment is present. With it set to `t` across the
board, various things break, and fixing those is a task for another day.
2025-06-29 12:23:03 +01:00

32 lines
710 B
EmacsLisp

;;; siren-flycheck.el --- jimeh's Emacs Siren: flycheck configuration. -*- lexical-binding: nil; -*-
;;; Commentary:
;; Basic configuration for flycheck.
;;; Code:
(use-package flycheck
:hook
(prog-mode . flycheck-mode)
:custom
(flycheck-idle-change-delay 0.5)
(flycheck-indication-mode 'right-fringe)
(flycheck-ruby-rubocop-executable "rubocop-bundle-safe")
(flycheck-javascript-standard-executable "semistandard")
:config
(define-fringe-bitmap 'flycheck-fringe-bitmap-double-arrow
[#b00000000
#b00011000
#b00110000
#b01100000
#b11000000
#b01100000
#b00110000
#b00011000] nil nil nil))
(provide 'siren-flycheck)
;;; siren-flycheck.el ends here