brew/Library/Homebrew/.rubocop_todo.yml
Mike McQuaid 5afff3f3aa
Handle macOS Homebrew on ARM
- Output `brew doctor` and `brew install` messages noting this configuration is (currently) unsupported and encourage use of Rosetta instead
- Output Rosetta 2 usage in `brew config` on ARM (whether in Rosetta 2 or not)
- Check the architecture of (newly installed) dependencies and ensure they are using the correct architecture.
- Don't allow installing macOS Intel Homebrew in macOS ARM Homebrew default prefix (and vice versa
- Actually write out the architecture of dependencies to the tab rather than generating and throwing them away
- Set and document the expected default prefix for macOS Intel Homebrew, macOS ARM Homebrew (`/opt/homebrew`) and Homebrew on Linux

While we're here:
- Don't say Big Sur is a prerelease version but still make it clear we
  don't support it (yet).
- Don't reference non-existent IRC channel
2020-11-12 17:06:47 +00:00

38 lines
894 B
YAML

Style/Documentation:
Exclude:
- 'compat/**/*.rb'
- 'extend/**/*.rb'
- 'cmd/**/*.rb'
- 'dev-cmd/**/*.rb'
- 'test/**/*.rb'
- 'cask/macos.rb'
- 'cli/args.rb'
- 'cli/parser.rb'
- 'global.rb'
- 'keg_relocate.rb'
- 'os/linux/global.rb'
- 'os/mac/architecture_list.rb'
- 'os/mac/global.rb'
- 'os/mac/keg.rb'
- 'reinstall.rb'
- 'software_spec.rb'
- 'upgrade.rb'
- 'utils.rb'
- 'utils/fork.rb'
- 'utils/gems.rb'
- 'utils/popen.rb'
- 'utils/shell.rb'
- 'version.rb'
Lint/EmptyBlock:
Exclude:
- 'dependency.rb'
- 'dev-cmd/extract.rb'
- 'test/cache_store_spec.rb'
- 'test/checksum_verification_spec.rb'
- 'test/compiler_failure_spec.rb'
- 'test/formula_spec.rb'
- 'test/formula_validation_spec.rb'
- 'test/pathname_spec.rb'
- 'test/support/fixtures/cask/Casks/*flight*.rb'