{
  "name": "coc-sqlfluff",
  "version": "0.11.4",
  "sqlfluffVersion": "2.1.0",
  "description": "SQLFluff (A SQL linter and auto-formatter for Humans) extension for coc.nvim",
  "author": "yaegassy <yosstools@gmail.com>",
  "license": "MIT",
  "main": "lib/index.js",
  "keywords": [
    "coc.nvim",
    "vim",
    "neovim",
    "sql",
    "jinja-sql",
    "linter",
    "formatter"
  ],
  "engines": {
    "coc": "^0.0.80"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/yaegassy/coc-sqlfluff"
  },
  "scripts": {
    "lint": "eslint src --ext ts",
    "clean": "rimraf lib",
    "watch": "node esbuild.js --watch",
    "build": "node esbuild.js",
    "prepare": "node esbuild.js"
  },
  "prettier": {
    "singleQuote": true,
    "printWidth": 120,
    "semi": true
  },
  "devDependencies": {
    "@types/node": "^18.15.11",
    "@types/rimraf": "^3.0.2",
    "@types/which": "^2.0.1",
    "@typescript-eslint/eslint-plugin": "^5.58.0",
    "@typescript-eslint/parser": "^5.58.0",
    "coc.nvim": "^0.0.82",
    "esbuild": "^0.16.17",
    "eslint": "^8.38.0",
    "eslint-config-prettier": "^8.8.0",
    "eslint-plugin-prettier": "^4.2.1",
    "prettier": "^2.8.7",
    "rimraf": "^3.0.2",
    "typescript": "^5.0.4",
    "which": "^2.0.2"
  },
  "activationEvents": [
    "onLanguage:sql",
    "onLanguage:jinja-sql"
  ],
  "contributes": {
    "configuration": {
      "type": "object",
      "title": "coc-sqlfluff configuration",
      "properties": {
        "sqlfluff.enable": {
          "type": "boolean",
          "default": true,
          "description": "Enable coc-sqlfluff extension"
        },
        "sqlfluff.commandPath": {
          "type": "string",
          "default": "",
          "description": "The path to the sqlfluff command (Absolute path)"
        },
        "sqlfluff.builtin.pythonPath": {
          "type": "string",
          "default": "",
          "description": "Python 3.x path (Absolute path) to be used for built-in install"
        },
        "sqlfluff.dialect": {
          "type": "string",
          "enum": [
            "ansi",
            "athena",
            "bigquery",
            "clickhouse",
            "databricks",
            "db2",
            "duckdb",
            "exasol",
            "hive",
            "mysql",
            "oracle",
            "postgres",
            "redshift",
            "snowflake",
            "soql",
            "sparksql",
            "sqlite",
            "teradata",
            "tsql"
          ],
          "default": "ansi",
          "description": "The dialect of SQL to lint"
        },
        "sqlfluff.linter.ignoreParsing": {
          "type": "boolean",
          "default": true,
          "description": "Whether the sql linter should ignore parsing errors."
        },
        "sqlfluff.lintOnOpen": {
          "type": "boolean",
          "default": true,
          "description": "Lint file on opening"
        },
        "sqlfluff.lintOnChange": {
          "type": "boolean",
          "default": true,
          "description": "Lint file on change"
        },
        "sqlfluff.lintOnSave": {
          "type": "boolean",
          "default": true,
          "description": "Lint file on save"
        },
        "sqlfluff.formatEnable": {
          "type": "boolean",
          "default": true,
          "description": "Whether the document formatter is enabled or not."
        },
        "sqlfluff.formatIgnoreStderrAlert": {
          "type": "boolean",
          "default": true,
          "description": "Ignore stderr message output when formatting is executed, e.g. `Unfixable violations detected`"
        }
      }
    },
    "commands": [
      {
        "command": "sqlfluff.install",
        "title": "Install sqlfluff"
      },
      {
        "command": "sqlfluff.fix",
        "title": "Run sqlfluff fix file"
      },
      {
        "command": "sqlfluff.format",
        "title": "Run sqlfluff format file (Available in sqlfluff `v2.0.0` and later)"
      },
      {
        "command": "sqlfluff.showOutput",
        "title": "Show sqlfluff output channel"
      }
    ]
  },
  "dependencies": {
    "semver": "^7.3.8"
  }
}
