Lint tool for Vim script Language
Project description
Vint is a Vim script Language Lint. The goal to reach for Vint is:
Highly extensible
Highly customizable
High performance
But now, Vint is under development. We hope you develop a policy to help us.
Quick start
You can install with pip.
$ pip install vim-vint
You can use Vint with scrooloose/syntastic by todesking/vint-syntastic.
Configure
Vint will read config files on the following priority order:
e.g. ~/.vintrc.yaml
e.g. path/to/proj/.vintrc.yaml
e.g. $ vint --error, $ vint --max-violations 10
Comment config (highest priority):
e.g. " vint: -ProhibitAbbreviationOption +ProhibitSetNoCompatible
You can see all options on Wiki.
User config
You can configure global Vint config by ~/.vintrc.yaml as following:
cmdargs:
# Checking more strictly
severity: style_problem
# Enable coloring
color: true
# Enable Neovim syntax
env:
neovim: true
policies:
# Disable a violation
ProhibitSomethingEvil:
enabled: false
# Enable a violation
ProhibitSomethingBad:
enabled: true
You can see all policy names on Vint linting policy summary.
Project config
You can configure project local Vint config by .vintrc.yaml as following:
cmdargs:
# Checking more strictly
severity: style_problem
# Enable coloring
color: true
# Enable Neovim syntax
env:
neovim: true
policies:
# Disable a violation
ProhibitSomethingEvil:
enabled: false
# Enable a violation
ProhibitSomethingBad:
enabled: true
You can see all policy names on Vint linting policy summary.
Command line config
You can configure linting severity, max errors, … as following:
$ vint --color --style ~/.vimrc
Code health
License
Acknowledgement
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file vim-vint-0.3.6.tar.gz
.
File metadata
- Download URL: vim-vint-0.3.6.tar.gz
- Upload date:
- Size: 82.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c844e8d7ad5371f539c3075cac99de1965dc68b144ec178928ef2349f6d1bf0b |
|
MD5 | 3b2d95c180bfab51aa690aa7ecd2c23f |
|
BLAKE2b-256 | 88671923ffafe976ef2613997e04cc28ea6c1798a351b89d45d82dfeb2d5865c |
Comment config
You can enable/disable linting policies by a comment as following:
This syntax is: " vint: [+-]<PolicyName> [+-]<PolicyName> ....
You can see all policy names on Vint linting policy summary.