├── .circleci └── config.yml ├── .editorconfig ├── .gitattributes ├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── appveyor.yml ├── package.json ├── spec ├── .eslintrc.js ├── fixtures │ ├── .rubocop.yml │ ├── .ruby-version │ ├── lintableFiles │ │ ├── abc_size.rb │ │ ├── bad.rb │ │ ├── empty.rb │ │ ├── good.rb │ │ ├── invalid_with_url.rb │ │ ├── invalid_without_url.rb │ │ └── ruby_2_4.rb │ └── yml2_3 │ │ ├── .rubocop.yml │ │ ├── .ruby-version │ │ └── ruby_2_4.rb └── linter-rubocop-spec.js └── src ├── ErrorFormatter.js ├── helpers ├── scope-validator.js └── std-parser.js ├── index.js └── rubocop ├── Config.js ├── OffenseFormatter.js ├── Rubocop.js ├── Runner.js └── helpers └── doc-cache.js /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | npm-debug.log 3 | node_modules 4 | .idea 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/README.md -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/appveyor.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/package.json -------------------------------------------------------------------------------- /spec/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/spec/.eslintrc.js -------------------------------------------------------------------------------- /spec/fixtures/.rubocop.yml: -------------------------------------------------------------------------------- 1 | Layout/EndOfLine: 2 | EnforcedStyle: lf 3 | -------------------------------------------------------------------------------- /spec/fixtures/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.4.6 2 | -------------------------------------------------------------------------------- /spec/fixtures/lintableFiles/abc_size.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/spec/fixtures/lintableFiles/abc_size.rb -------------------------------------------------------------------------------- /spec/fixtures/lintableFiles/bad.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | print ' 3 | -------------------------------------------------------------------------------- /spec/fixtures/lintableFiles/empty.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | -------------------------------------------------------------------------------- /spec/fixtures/lintableFiles/good.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | print 'Hello world!' 4 | -------------------------------------------------------------------------------- /spec/fixtures/lintableFiles/invalid_with_url.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | print "Hello world!" 4 | -------------------------------------------------------------------------------- /spec/fixtures/lintableFiles/invalid_without_url.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/spec/fixtures/lintableFiles/invalid_without_url.rb -------------------------------------------------------------------------------- /spec/fixtures/lintableFiles/ruby_2_4.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | a&.b 4 | -------------------------------------------------------------------------------- /spec/fixtures/yml2_3/.rubocop.yml: -------------------------------------------------------------------------------- 1 | Layout/EndOfLine: 2 | EnforcedStyle: lf 3 | AllCops: 4 | TargetRubyVersion: 2.3 5 | -------------------------------------------------------------------------------- /spec/fixtures/yml2_3/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.4 2 | -------------------------------------------------------------------------------- /spec/fixtures/yml2_3/ruby_2_4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/spec/fixtures/yml2_3/ruby_2_4.rb -------------------------------------------------------------------------------- /spec/linter-rubocop-spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/spec/linter-rubocop-spec.js -------------------------------------------------------------------------------- /src/ErrorFormatter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/src/ErrorFormatter.js -------------------------------------------------------------------------------- /src/helpers/scope-validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/src/helpers/scope-validator.js -------------------------------------------------------------------------------- /src/helpers/std-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/src/helpers/std-parser.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/src/index.js -------------------------------------------------------------------------------- /src/rubocop/Config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/src/rubocop/Config.js -------------------------------------------------------------------------------- /src/rubocop/OffenseFormatter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/src/rubocop/OffenseFormatter.js -------------------------------------------------------------------------------- /src/rubocop/Rubocop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/src/rubocop/Rubocop.js -------------------------------------------------------------------------------- /src/rubocop/Runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/src/rubocop/Runner.js -------------------------------------------------------------------------------- /src/rubocop/helpers/doc-cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AtomLinter/linter-rubocop/HEAD/src/rubocop/helpers/doc-cache.js --------------------------------------------------------------------------------