Catalog npm
Back to packageRELEASE DETAILS

0.22.2-4

npm

@0x706b/coc-diagnostic

diagnostic-languageserver extension for coc.nvim

coc.nvimdiagnosticformatlinterlspneovimvim
Published15 Jul 2022
Direct dependencies9
Transitive dependenciesNot calculated

README

Current package documentation

Diagnostic Extension for CoC

diagnostic-languageserver extension for CoC

Install

:CocInstall coc-diagnostic

image

Config

NOTE: If you want to support linter that do not include by default, you should read the README for how to config a new linter.

linters filetypes formatters formatFiletypes field config are same as diagnostic-languageserver. this extension include all linters config at linters therefor if you use the linter which have included then you don't need to config linters and formatters

If mergeConfig is true (default false) then any configuration for linters and formatters is merged with the default configuration, this allow overriding specific parts of the configuration only.

To enable this plugin for filetypes you have to config diagnostic-languageserver.filetypes for linters and diagnostic-languageserver.formatFiletypes for formatters.

example coc-settings.json:

{
  // diagnostic-languageserver
  "diagnostic-languageserver.filetypes": {
    "vim": "vint",
    "email": "languagetool",
    "markdown": [ "write-good", "markdownlint" ],
    "sh": "shellcheck",
    "elixir": ["mix_credo", "mix_credo_compile"],
    "eelixir": ["mix_credo", "mix_credo_compile"],
    "php": ["phpstan", "psalm"],
    "yaml": [ "yamllint" ],
    "cmake": [ "cmake-lint", "cmakelint" ],
    "systemd": "systemd-analyze",
    ...
  },
  "diagnostic-languageserver.formatFiletypes": {
    "dart": "dartfmt",
    "elixir": "mix_format",
    "eelixir": "mix_format",
    "python": ["black", "isort"],
    "lua": "lua-format",
    "sh": "shfmt",
    "blade": "blade-formatter",
    "cmake": "cmake-format",
    ...
  }
}

All Options:

"diagnostic-languageserver.enable": {
  "type": "boolean",
  "default": true,
  "description": "enable this extension?"
},
"diagnostic-languageserver.mergeConfig": {
  "type": "boolean",
  "default": false,
  "description": "merge config?"
},
"diagnostic-languageserver.debug": {
  "type": "boolean",
  "default": true,
  "description": "enable debug?"
},
"diagnostic-languageserver.trace.server": {
  "type": "string",
  "default": "off",
  "enum": [
    "off",
    "messages",
    "verbose"
  ],
  "description": "Trace level of diagnostic-languageserver"
},
"diagnostic-languageserver.linters": {
  "type": "object",
  "default": {},
  "description": "linters config same as diagnostic-languageserver's linters config"
},
"diagnostic-languageserver.filetypes": {
  "type": "object",
  "default": {},
  "description": "filetypes config same as diagnostic-languageserver's filetypes config"
},
"diagnostic-languageserver.formatters": {
  "type": "object",
  "default": {},
  "description": "formatters config same as diagnostic-languageserver's formatters config"
},
"diagnostic-languageserver.formatFiletypes": {
  "type": "object",
  "default": {},
  "description": "formatFiletypes config same as diagnostic-languageserver's formatFiletypes config"
}

Buy Me A Coffee ☕️

btc

image

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 9

Native requirements
9 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0x706b/diagnostic-languageserver
Environment
{
  "local_name": "@0x706b/diagnostic-languageserver",
  "alias": false,
  "peer_metadata": null
}
^1.13.1-3development
@types/lodash
Environment
{
  "local_name": "@types/lodash",
  "alias": false,
  "peer_metadata": null
}
^4.14.167development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^12.0.0development
coc.nvim
Environment
{
  "local_name": "coc.nvim",
  "alias": false,
  "peer_metadata": null
}
^0.0.77development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.5development
ts-loader
Environment
{
  "local_name": "ts-loader",
  "alias": false,
  "peer_metadata": null
}
^8.0.14development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^4.1.3development
webpack
Environment
{
  "local_name": "webpack",
  "alias": false,
  "peer_metadata": null
}
^5.11.1development
webpack-cli
Environment
{
  "local_name": "webpack-cli",
  "alias": false,
  "peer_metadata": null
}
^4.3.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-lR9ZZ/u/GLSNMMtEPI9QhBIJJVCuCMpD64aJKOUQN8oocCE+hAsjXcTblH7pJDf+qqlcvEb5s2AYmNY4hNXlxg==",
  "shasum": "eadf32890d52b6aaf669eb14cdad3a5828239d3c",
  "tarball": "https://registry.npmjs.org/@0x706b/coc-diagnostic/-/coc-diagnostic-0.22.2-4.tgz",
  "fileCount": 9,
  "unpackedSize": 519171,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIBvJwLNSdz1IH9JDnYbvyXhq3UPSa9D18xvE4ibNKob4AiEAnBEa0LWR4htAuRVAbBT3rzbqwazdrBCSVDoQRdAHwbs="
    }
  ],
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0ZRcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrzMhAAhJqJuTxjytJPWD07pTmD8GsXKS1qGS/Q7FHJdjvDheOF2IP8\r\nLlg5RWLaFJCDmdXe/hHiPru2xj0Iumhj66UZPAe5sDQpQ97L4v/F1HNod69T\r\np3qyijXOziHjTOmMAZ4u8fqU7i/MxPubgipQy1CFL0vp390/QqawW/JjnyDH\r\nZ0CLFvBKeZEJchjTNjAzr71UCDXkUdjlmp3Y8UlXsGkFLWcLG/aAyWGYAprU\r\ng67ui4Qe5iRqgH5wf59XObaTKZU0gTnPTfYSxutekCUxShNIscIyULMO9gFu\r\ntJCudYJOGKzr0xVBTB4dbUqtTvqkAqDy82YCoK0JOVbfqkwTsdOqH4Xb/yUp\r\n4m2omLrOHU6H9YjQ5UEaQKVjbH9frACzhfdETelYqcsWBfkKWWU4kCQjRmBo\r\nPWphRIfB1ZIo2b6bJFF4pSM7FZRloFi4GQFMid2RssCTjQSsYPOh4KA34juU\r\nwP1IL/QCJGcCAcH8nM9mlCXTZsgKIs1ut/4T0pyRfI/fozGDhyL8haaKG8Oj\r\nU7B/opMPCoqZ5QwKxPCPW9YoD+fcFMy3rjROJWAc95IF6/pdminT7iXCPd0j\r\ngIbWAm1CH26pyaQHk+nPrp0nlzrAEHG/0f1Uei72grg6LlUKoknKcOXdsl4e\r\nLgHbitsY9NEdVnM7HpJo4SyAeb2Gqv7dXV4=\r\n=UYBX\r\n-----END PGP SIGNATURE-----\r\n"
}

Repository

PENDING
0x706b/coc-diagnostic

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:38 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:a819781d22c2e7cf2b955fbbf2ef3a782569dacab4565066ca23592dadc62003

Other collected versions

0.22.2-328 Aug0.22.2-228 Aug0.22.2-128 Aug0.22.2-028 AugView all collected versions →