Skip to content

RuboCop's AST extensions and NodePattern functionality

License

Notifications You must be signed in to change notification settings

marcandre/rubocop-ast

 
 

Repository files navigation

RuboCop AST

Gem Version CI

Contains the classes needed by RuboCop to deal with Ruby's AST, in particular:

  • RuboCop::AST::Node
  • RuboCop::NodePattern (doc)

This gem may be used independently from the main RuboCop gem.

Installation

Just install the rubocop-ast gem

gem install rubocop-ast

or if you use bundler put this in your Gemfile

gem 'rubocop-ast'

Usage

Refer to the documentation of RuboCop::AST::Node and RuboCop::NodePattern

Contributing

Checkout the contribution guidelines.

License

rubocop-ast is MIT licensed. See the accompanying file for the full text.

About

RuboCop's AST extensions and NodePattern functionality

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%