[
  {
    "path": ".gitignore",
    "content": ".DS_Store\n"
  },
  {
    "path": ".python-version",
    "content": "3.8\n"
  },
  {
    "path": ".travis.yml",
    "content": "language: python\npython:\n  - \"3.6\"\ninstall:\n  - pip install flake8\nscript:\n  - flake8 . --max-line-length=120\n"
  },
  {
    "path": "LICENSE",
    "content": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "SublimeLinter-shellcheck\n=========================\n\n[![Build Status](https://travis-ci.org/SublimeLinter/SublimeLinter-shellcheck.svg?branch=master)](https://travis-ci.org/SublimeLinter/SublimeLinter-shellcheck)\n\nThis linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [shellcheck](http://www.shellcheck.net/about.html).\nIt will be used with files that have the \"Shell-Unix-Generic\" syntax (aka Shell Script (Bash)).\n\n\n## Installation\n\nSublimeLinter must be installed in order to use this plugin. \n\nPlease use [Package Control](https://packagecontrol.io) to install the linter plugin.\n\nBefore using this plugin, ensure that `shellcheck` is installed on your system.\nTo install `shellcheck`, follow the instructions on [the shellcheck GitHub repository](https://github.com/koalaman/shellcheck).\n\n`shellcheck` can be installed with ``apt-get`` on Debian sid, ``brew`` on Mac OS X, or compiled from its Haskell sources (manually, or through `cabal`). \n\nOn Windows either install natively or use the Linux Subsystem. See [Microsoft's guide](https://docs.microsoft.com/en-us/windows/wsl/install-win10), then run `wsl sudo apt update` and `wsl sudo apt install shellcheck` to install Shellcheck (if you installed Ubuntu).\n\nOn native Linux systems, Please make sure that the path to `shellcheck` is available to SublimeLinter.\nThe docs cover [troubleshooting PATH configuration](http://sublimelinter.com/en/latest/troubleshooting.html#finding-a-linter-executable).\n\n\n## Settings\n\n- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html\n- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html\n\nAdditional SublimeLinter-shellcheck settings:\n\n|Setting|Description|\n|:------|:----------|\n|exclude|A comma-delimited list of codes to exclude.|\n\nE.g. you can use a single string (eg: ``\"SC2034,SC2086\"``), or an array of strings (eg: ``[\"SC2034\", \"SC2086\"]``).\n\n"
  },
  {
    "path": "linter.py",
    "content": "from SublimeLinter.lint import Linter\nfrom shutil import which\nimport sublime\n\n\nclass Shellcheck(Linter):\n\n    cmd = 'shellcheck --format=gcc ${args} -'\n    if sublime.platform() == 'windows' and not which('shellcheck') and which('wsl'):\n        cmd = 'wsl ' + cmd\n\n    regex = (\n        r'^.+?:(?P<line>\\d+):(?P<col>\\d+): '\n        r'(?:(?P<error>error)|(?P<warning>(warning|note))): '\n        r'(?P<message>.+)$'\n    )\n    defaults = {\n        'selector': 'source.shell.bash - source.makefile - source.shell.fish - text.html',\n        '--exclude=,': ''\n    }\n"
  },
  {
    "path": "messages/install.txt",
    "content": "SublimeLinter-shellcheck\n-------------------------------\nThis linter plugin for SublimeLinter provides an interface to shellcheck.\n\nPlease read the installation instructions at:\n\nhttps://github.com/SublimeLinter/SublimeLinter-shellcheck\n\nFollow install instructions of shellcheck at https://github.com/koalaman/shellcheck\n"
  },
  {
    "path": "messages.json",
    "content": "{\n    \"install\": \"messages/install.txt\"\n}\n"
  }
]