+++ /dev/null
-{
- "name": "coc-eslint",
- "version": "1.2.0",
- "description": "eslint extension for coc",
- "main": "lib/index.js",
- "publisher": "chemzqm",
- "keywords": [
- "coc.nvim",
- "eslint"
- ],
- "engines": {
- "coc": "^0.0.64"
- },
- "scripts": {},
- "activationEvents": [
- "*"
- ],
- "contributes": {
- "commands": [
- {
- "title": "Fix all auto-fixable problems",
- "category": "ESLint",
- "command": "eslint.executeAutofix"
- },
- {
- "title": "Create a '.eslintrc' config file",
- "category": "ESLint",
- "command": "eslint.createConfig"
- }
- ],
- "configuration": {
- "type": "object",
- "title": "Eslint",
- "properties": {
- "eslint.enable": {
- "type": "boolean",
- "default": true,
- "description": "enable lint for files."
- },
- "eslint.quiet": {
- "type": "boolean",
- "default": false,
- "description": "Turns on quiet mode, which ignores warnings."
- },
- "eslint.trace.server": {
- "type": "string",
- "default": "off",
- "enum": [
- "off",
- "messages",
- "verbose"
- ]
- },
- "eslint.execArgv": {
- "type": "array",
- "default": [],
- "items": {
- "type": "string"
- }
- },
- "eslint.filetypes": {
- "type": "array",
- "default": [
- "javascript",
- "javascriptreact"
- ],
- "items": {
- "type": "string"
- }
- },
- "eslint.packageManager": {
- "type": "string",
- "default": "npm",
- "enum": [
- "npm",
- "yarn"
- ]
- },
- "eslint.run": {
- "type": "string",
- "default": "onType",
- "enum": [
- "onType",
- "onSave"
- ]
- },
- "eslint.nodePath": {
- "type": [
- "string",
- "null"
- ],
- "default": null,
- "description": "A path added to NODE_PATH when resolving the eslint module."
- },
- "eslint.autoFix": {
- "type": "boolean",
- "default": true,
- "description": "Enable auto fix feature"
- },
- "eslint.options": {
- "scope": "resource",
- "type": "object",
- "default": {},
- "description": "The eslint options object to provide args normally passed to eslint when executed from a command line (see http://eslint.org/docs/developer-guide/nodejs-api#cliengine)."
- },
- "eslint.autoFixOnSave": {
- "type": "boolean",
- "default": false
- },
- "eslint.codeAction.disableRuleComment": {
- "scope": "resource",
- "type": "object",
- "default": {
- "enable": true,
- "location": "separateLine"
- },
- "properties": {
- "enable": {
- "type": "boolean",
- "default": true,
- "description": "Show the disable code actions."
- },
- "location": {
- "type": "string",
- "enum": [
- "separateLine",
- "sameLine"
- ],
- "default": "separateLine",
- "description": "Configure the disable rule code action to insert the comment on the same line or a new line."
- }
- }
- },
- "eslint.codeAction.showDocumentation": {
- "scope": "resource",
- "type": "object",
- "default": {
- "enable": true
- },
- "properties": {
- "enable": {
- "type": "boolean",
- "default": true,
- "description": "Show the documentation code actions."
- }
- }
- }
- }
- }
- },
- "author": "chemzqm@gmail.com",
- "license": "MIT",
- "devDependencies": {
- "@chemzqm/tsconfig": "^0.0.3",
- "@chemzqm/tslint-config": "^1.0.18",
- "@types/eslint": "^4.16.6",
- "@types/fast-diff": "^1.2.0",
- "@types/node": "^12.0.7",
- "coc.nvim": "0.0.65",
- "rimraf": "^2.6.3",
- "tslint": "^5.17.0",
- "typescript": "^3.5.1"
- },
- "dependencies": {}
-}