├── .gitignore ├── .rspec ├── .rubocop.yml ├── .travis.yml ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console └── setup ├── config └── default.yml ├── lib ├── rubocop-flexport.rb └── rubocop │ ├── cop │ ├── flexport │ │ ├── engine_api_boundary.rb │ │ ├── global_model_access_from_engine.rb │ │ └── new_global_model.rb │ ├── flexport_cops.rb │ └── mixin │ │ ├── engine_api.rb │ │ ├── engine_node_context.rb │ │ └── factory_bot_usage.rb │ ├── flexport.rb │ └── flexport │ ├── inject.rb │ └── version.rb ├── rubocop-flexport.gemspec └── spec ├── rubocop ├── cop │ ├── engine_api_spec.rb │ ├── flexport │ │ ├── engine_api_boundary_spec.rb │ │ ├── global_model_access_from_engine_spec.rb │ │ └── new_global_model_spec.rb │ └── mixin │ │ └── factory_bot_usage_spec.rb └── flexport_spec.rb └── spec_helper.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/bin/setup -------------------------------------------------------------------------------- /config/default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/config/default.yml -------------------------------------------------------------------------------- /lib/rubocop-flexport.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/lib/rubocop-flexport.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/flexport/engine_api_boundary.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/lib/rubocop/cop/flexport/engine_api_boundary.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/flexport/global_model_access_from_engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/lib/rubocop/cop/flexport/global_model_access_from_engine.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/flexport/new_global_model.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/lib/rubocop/cop/flexport/new_global_model.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/flexport_cops.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/lib/rubocop/cop/flexport_cops.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/mixin/engine_api.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/lib/rubocop/cop/mixin/engine_api.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/mixin/engine_node_context.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/lib/rubocop/cop/mixin/engine_node_context.rb -------------------------------------------------------------------------------- /lib/rubocop/cop/mixin/factory_bot_usage.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/lib/rubocop/cop/mixin/factory_bot_usage.rb -------------------------------------------------------------------------------- /lib/rubocop/flexport.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/lib/rubocop/flexport.rb -------------------------------------------------------------------------------- /lib/rubocop/flexport/inject.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/lib/rubocop/flexport/inject.rb -------------------------------------------------------------------------------- /lib/rubocop/flexport/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/lib/rubocop/flexport/version.rb -------------------------------------------------------------------------------- /rubocop-flexport.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/rubocop-flexport.gemspec -------------------------------------------------------------------------------- /spec/rubocop/cop/engine_api_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/spec/rubocop/cop/engine_api_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/cop/flexport/engine_api_boundary_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/spec/rubocop/cop/flexport/engine_api_boundary_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/cop/flexport/global_model_access_from_engine_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/spec/rubocop/cop/flexport/global_model_access_from_engine_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/cop/flexport/new_global_model_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/spec/rubocop/cop/flexport/new_global_model_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/cop/mixin/factory_bot_usage_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/spec/rubocop/cop/mixin/factory_bot_usage_spec.rb -------------------------------------------------------------------------------- /spec/rubocop/flexport_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/spec/rubocop/flexport_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexport/rubocop-flexport/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------