
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Church of the Highlands specific analysis for RuboCop.
It contains Church of the Highlands' internally used configuration for RuboCop and RuboCop RSpec. It also includes a handful custom rules that are not currently addressed by other projects.
Just put this in your Gemfile
it depends on the appropriate version of rubocop and rubocop-rspec.
gem 'rubocop-highlands'
You need to tell RuboCop to load the Highlands extension. There are three ways to do this:
First Create a new file .rubocop_highlands.yml
in the same directory as your .rubocop.yml
this file should contain
require:
- rubocop-highlands
Next add the following to .rubocop.yml
or add before .rubocop_todo.yml
in your existing inherit_from
inherit_from:
- .rubocop_highlands.yml
- .rubocop_todo.yml
You need to inherit .rubocop_highlands.yml
from another file because of Rubocop order of operations.
It runs inherit_from
before require
commands. If the configuration is not in a separate file
you could potentially experience a bunch of warnings from .rubocop_todo.yml
for non-existant
Highlands
rules.
Now you can run rubocop
and it will automatically load the RuboCop Highlands
cops together with the standard cops.
rubocop --require rubocop-highlands
All cops are located under
lib/rubocop/cop/highlands
, and contain
examples/documentation.
In your .rubocop.yml
, you may treat the Church of the Highlands cops just like any other
cop. For example:
Highlands/PhraseBundleKeys:
Exclude:
- spec/my_poorly_named_spec_file.rb
FAQs
Unknown package
We found that rubocop-highlands demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.