--- /dev/null
+{
+ "name": "coc-eslint",
+ "version": "1.2.7",
+ "description": "eslint extension for coc",
+ "main": "lib/index.js",
+ "publisher": "chemzqm",
+ "keywords": [
+ "coc.nvim",
+ "eslint"
+ ],
+ "engines": {
+ "coc": "^0.0.64"
+ },
+ "scripts": {
+ "clean": "rimraf lib",
+ "build": "webpack",
+ "prepare": "npx npm-run-all clean build"
+ },
+ "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",
+ "typescript",
+ "typescriptreact"
+ ],
+ "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": "^6.1.3",
+ "@types/fast-diff": "^1.2.0",
+ "@types/node": "^13.1.7",
+ "coc.nvim": "0.0.65",
+ "eslint": "^6.8.0",
+ "fast-diff": "^1.2.0",
+ "resolve-from": "^5.0.0",
+ "rimraf": "^3.0.0",
+ "ts-loader": "^6.2.1",
+ "tslint": "^5.20.1",
+ "typescript": "^3.7.4",
+ "vscode-languageserver": "^6.0.0",
+ "vscode-languageserver-protocol": "^3.15.0",
+ "vscode-languageserver-textdocument": "^1.0.0",
+ "vscode-uri": "^2.1.1",
+ "webpack": "^4.41.5",
+ "webpack-cli": "^3.3.10",
+ "which": "^2.0.2"
+ },
+ "dependencies": {}
+}