Skip to content

Flycheck integration for DrString, a Swift documentation linter

License

Notifications You must be signed in to change notification settings

danielmartin/flycheck-drstring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flycheck-drstring

Lint Swift documentation using DrString.

This library provides a flycheck checker for Swift source code using DrString.

Screenshot

Sample screenshot with flycheck-drstring in action

Installation

MELPA

A MELPA package is not available yet.

Manual

Ensure flycheck is installed, then download this code and add the directory to your Emacs load-path.

Then, in your init.el:

(eval-after-load 'flycheck
  '(add-hook 'flycheck-mode-hook #'flycheck-drstring-setup))

Or, if you use use-package:

(use-package flycheck-drstring
  :after flycheck
  :hook
  (flycheck-mode . flycheck-drstring-setup))

Make sure that the drstring binary is present on Emacs' exec-path.

Usage

When flycheck is enabled (e.g. with global-flycheck-mode), swift-mode buffers will be automatically checked using this checker.

This checker includes an error explainer. Invoking flycheck-explain-error-at-point will show a Help buffer with information about any particular lint warning.

About

Flycheck integration for DrString, a Swift documentation linter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published