All Projects → neoclide → Coc Tslint Plugin

neoclide / Coc Tslint Plugin

coc.nvim extension that provides TSLint support using the typescript-tslint-plugin

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Coc Tslint Plugin

Dotfiles
My dotfiles.Managed with dotbot
Stars: ✭ 8 (-80.95%)
Mutual labels:  neovim
Hot Reload.vim
A (Neo)vim plugin for Flutter to automatically hot reload the project every time a file is saved
Stars: ✭ 33 (-21.43%)
Mutual labels:  neovim
Dotfiles
Get ready for dotfiles. Contains i3, i3blocks, rofi, dunst, picom, vim, tmux, and zsh.
Stars: ✭ 985 (+2245.24%)
Mutual labels:  neovim
Vim Gitgutter
A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.
Stars: ✭ 7,364 (+17433.33%)
Mutual labels:  neovim
Aurora
📦 A set of configs and rules for Typescript projects.
Stars: ✭ 30 (-28.57%)
Mutual labels:  tslint
Blue Moon
A dark color scheme for Neovim derived from palenight and carbonight
Stars: ✭ 31 (-26.19%)
Mutual labels:  neovim
Neovim Remote
👌 Support for --remote and friends.
Stars: ✭ 935 (+2126.19%)
Mutual labels:  neovim
Covimerage
Generate coverage information for Vim scripts.
Stars: ✭ 41 (-2.38%)
Mutual labels:  neovim
Ale Sensible
Pretty, responsive and smooth defaults for a sane ALE, gets you started in 30 seconds
Stars: ✭ 30 (-28.57%)
Mutual labels:  neovim
Onehalf
Clean, vibrant and pleasing color schemes for Vim, Sublime Text, iTerm, gnome-terminal and more.
Stars: ✭ 974 (+2219.05%)
Mutual labels:  neovim
Dotfiles
`~/dotfiles` to setup my dev env on macOS based around `neovim` and `tmux`
Stars: ✭ 20 (-52.38%)
Mutual labels:  neovim
Nvim Completion Manager
⚠️ PLEASE USE https://github.com/ncm2/ncm2 INSTEAD
Stars: ✭ 950 (+2161.9%)
Mutual labels:  neovim
Notational Fzf Vim
Notational velocity for vim.
Stars: ✭ 975 (+2221.43%)
Mutual labels:  neovim
Express
Express + Sequelize + Winston + Jasmine + TypeScript + Webpack MVC Boilerplate
Stars: ✭ 9 (-78.57%)
Mutual labels:  tslint
Vim.ana
The portable Vim IDE with all the trimmings, one-click installable on any standard box.
Stars: ✭ 37 (-11.9%)
Mutual labels:  neovim
Dotfiles
🔘 neovim, zsh, tmux, iTerm2, macOS dotfiles
Stars: ✭ 7 (-83.33%)
Mutual labels:  neovim
Vimrc
📝 Vim Configuration for nerds with vim-plug
Stars: ✭ 33 (-21.43%)
Mutual labels:  neovim
Dotfiles
My *NIX dotfiles [i3wm, URxvt, tmux, zsh, rofi, cmus, irssi, vifm, mutt, feh, mpv, newsbeuter]
Stars: ✭ 41 (-2.38%)
Mutual labels:  neovim
Dotfiles
Configs 🤘🤘🤘
Stars: ✭ 39 (-7.14%)
Mutual labels:  neovim
Neoformat
✨ A (Neo)vim plugin for formatting code.
Stars: ✭ 977 (+2226.19%)
Mutual labels:  neovim

coc-tslint-plugin

WARNING this extension is deprecated since tslint is deprecated in favor of eslint.

Adds tslint to coc.nvim using the TypeScript TSLint language service plugin.

This is a fork of vscode-typescript-tslint-plugin.

Please refer to the tslint documentation for how to configure the linting rules.

Install

Important: If you also have the coc-tslint extension installed, please disable it to avoid linting files twice.*

In your vim/neovim, run command:

:CocInstall coc-tsserver coc-tslint-plugin

Configuration

You can either configure the TSLint extension using a tsconfig or jsconfig as described here, or configure it with coc.nvim settings.

Note the coc.nvim based configuration override the tsconfig or jsconfig configuration.

  • tslint.configFile - The configuration file that tslint should use instead of the default tslint.json. A relative file path is resolved relative to the project root.

  • tslint.jsEnable - Enable/disable tslint for .js files. Default is false.

  • tslint.ignoreDefinitionFiles - Control if TypeScript definition files should be ignored. Default is true.

  • tslint.exclude - A glob or an array of globs. Any file matching these globs will not be linted.

  • tslint.alwaysShowRuleFailuresAsWarnings - Always show rule failures as warnings, ignoring the severity configuration in the tslint.json configuration.

  • tslint.suppressWhileTypeErrorsPresent - Suppress tslint errors from being reported while other errors are present.

  • tslint.autoFixOnSave - fix autofixable issues on save.

Differences with the coc-tslint extension

  • The implementation as a TypeScript server plugin enables to shares the program representation with TypeScript. This is more efficient than the current coc-tslint implementation. The current TSLint implementation needs to reanalyze a document that has already been analyzed by the TypeScript language server.

  • coc-tslint can only lint one file a time. It therefore cannot support semantic tslint rules that require the type checker. The language service plugin doesn't have this limitation. To overcome this limitation is a key motivation for reimplementing the extension.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].