Skip to content

christopherpickering/Sublimelinter-contrib-djlint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SublimeLinter-contrib-djlint

This linter plugin for SublimeLinter provides an interface to djlint for linting Django Templates.

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Before installing this plugin, you must ensure that djlint is installed on your system.

pip install djlint

In order for djlint to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.

Settings

Warnings can be ignored from the sublimelinter settings:

// SublimeLinter Settings - User
{
    "linters": {
       "djlint": {
          "ignore": "W013",
          "python": "/path/to/python/3.7.2+/where/you/installed/djlint"
       }
    }
}

About

Sublime linter interface for djlint, django template linting

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages