Skip to content

kendo-labs/kendoui-lint.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KendoUI-Lint.vim

A vim plugin to integrate the Kendo UI Lint project with the vim editor.

Note

Kendo UI Labs projects are experimental and largely built and supported by the community. As such Telerik does not provide official support for any of the Kendo UI Labs projects via Telerik support agreements. We do encourage you to open an issue or visit Stack Overflow.

Install The Linter And Plugin

There are a few things you need to do to get this working:

  1. Install NodeJS
  2. Install Kendo UI Lint
  3. Install the vim plugin

1. Install NodeJS

Head over to NodeJS.org and grab the latest version. Follow the download and installation instructions for your operating system.

2. Install Kendo UI Lint

Open a command prompt or terminal window and run

npm install -g kendo-lint

This will install the Kendo UI Lint project globally, so that it can be run from anywhere on your box.

3. Install The Vim Plugin

I reocommend using Pathogen to install plugins for vim. This makes it easy to install:

$ git clone https://github.com/kendo-labs/kendoui-lint.vim ~/.vim/bundle/kendoui-lint.vim/

Run The KendoUI-Lint Plugin

To run the Kendo UI Linter from any JavaScript or HTML file, execute this command in vim:

:KUILint

I also recommend mapping the KUILint command, as well. For example:

nnoremap <silent> <localleader>l :execute 'KUILint'<CR>

How to Contribute

If you would like to contribute to the source code, please read the guidelines for pull requests and contributions for the KendoUI-Lint project. Following these guidelines will help make your contributions easier to bring in to the next release.

Getting Help

The best way to get help is either by open issues on the project here at github, or by asking questions on StackOverflow. Be sure to tag your SO questions with kendo-ui.

As a part of Kendo UI Labs, KendoUI-Lint.vim is intended to be a community-run project, and not an official part of any Kendo UI SKU (Web, DataViz, Mobile or Complete). As such, this project is not a supported part of Kendo UI, and is not covered under the support agreements for Kendo UI license holders. Please do not create Kendo UI support requests for this project, as these will be immediately closed and you'll be directed to post your question on a community forum.

Release Notes

For change logs and release notes, see the changelog file.

License Information

This project has been released under the Apache License, version 2.0, the text of which is included in the LICENSE.md file. This license applies ONLY to the project-specific source of each repository and does not extend to Kendo UI itself, or any other 3rd party libraries used in a repository. For licensing information about Kendo UI, see the License Agreements page at KendoUI.com.