Skip to content

Instantly share code, notes, and snippets.

@keplersj
Created June 19, 2015 03:47
Show Gist options
  • Save keplersj/c408a95a6c81296305ad to your computer and use it in GitHub Desktop.
Save keplersj/c408a95a6c81296305ad to your computer and use it in GitHub Desktop.
A script to clone all AtomLinter linters.
linters = ['linter-phpmd', 'linter-phpcs', 'linter-jshint', 'linter-jscs',
'linter-scss-lint', 'linter-coffeelint', 'linter-pep8', 'linter-pyflakes',
'linter-csslint', 'linter-rubocop', 'linter-xmllint', 'linter-shellcheck',
'linter-ruby', 'linter-rst', 'linter-pylint', 'linter-phplint', 'linter-php',
'linter-lua', 'linter-jsxhint', 'linter-jsl', 'linter-pep257',
'linter-oclitnt', 'linter-tslint', 'linter-javac', 'linter-scalac',
'linter-cpplint', 'linter-jsonlint', 'linter-htmlhint', 'linter-clang',
'linter-eslint', 'linter-flake8', 'linter-twig-lint', 'linter-recess',
'linter-gjslint', 'linter-puppet-lint', 'linter-js-yaml', 'linter-clojure',
'linter-erb', 'linter-codscriptizer', 'linter-kibit', 'linter-tidy',
'linter-hlint', 'linter-harbour', 'linter-pylama', 'linter-rust',
'linter-less', 'linter-dartanalyzer', 'linter-handlebars', 'linter-mcs',
'linter-bootlint', 'linter-elixirc', 'linter-erlc', 'linter-foodcritic',
'linter-flexpmd', 'linter-flow', 'linter-lsc', 'linter-luacheck',
'linter-swiftc', 'linter-haml', 'linter-bailey', 'linter-reek', 'linter-slim',
'linter-stylint', 'linter-lintr', 'linter-crystal', 'ansible-lint',
'linter-govet', 'linter-roodi', 'linter-golinter', 'linter-gotype']
puts "Linters in question: #{linters}"
puts "Beginning to clone all linters."
linters.each do |linter|
puts "Cloning linter: #{linter}"
system "git clone [email protected]:AtomLinter/#{linter}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment