<commit_before>rubocop-yast
============

[![Gem Version](https://badge.fury.io/rb/rubocop-yast.svg)](http://badge.fury.io/rb/rubocop-yast)
[![Dependency Status](https://gemnasium.com/lslezak/rubocop-yast.svg)](https://gemnasium.com/lslezak/rubocop-yast)
[![Travis Build](https://travis-ci.org/lslezak/rubocop-yast.svg?branch=master)](https://travis-ci.org/lslezak/rubocop-yast)
[![Coverage Status](https://img.shields.io/coveralls/lslezak/rubocop-yast.svg)](https://coveralls.io/r/lslezak/rubocop-yast?branch=master)
[![Code Climate](https://codeclimate.com/github/lslezak/rubocop-yast/badges/gpa.svg)](https://codeclimate.com/github/lslezak/rubocop-yast)
[![Inline docs](http://inch-ci.org/github/lslezak/rubocop-yast.svg?branch=master)](http://inch-ci.org/github/lslezak/rubocop-yast)


This is a plugin for [RuboCop](https://github.com/bbatsov/rubocop)
a Ruby static code analyzer. It was inspired by [Rubocop-Rspec](https://github.com/nevir/rubocop-rspec)
and [YCP Zombie Killer](https://github.com/yast/zombie-killer).

The goal is to create a Rubocop plugin which can check for
[YaST](http://yast.github.io/) specific issues. Optionally it should allow to
covert some ugly code parts introduced by the automatic code conversion done by
[YCP Killer](https://github.com/yast/ycp-killer) (conversion from YCP to Ruby).

Check [the test descriptions](spec/builtins_spec.md) to see the examples of offense
detection and code conversion.

*The plugin is currently in early development, always manually check the chages
done by the plugin! It can eat your code... ;-)*


Installation
------------

The plugin is published at [rubygems.org](https://rubygems.org/gems/rubocop-yast),
you can install it using the `gem` command:

```shell
sudo gem install rubocop-yast
```

You can also install the latest development version directly from the Git repository,<commit_msg>prepare for moving to the "yast" organization at GitHub<commit_after>rubocop-yast
============

[![Gem Version](https://badge.fury.io/rb/rubocop-yast.svg)](http://badge.fury.io/rb/rubocop-yast)
[![Dependency Status](https://gemnasium.com/yast/rubocop-yast.svg)](https://gemnasium.com/yast/rubocop-yast)
[![Travis Build](https://travis-ci.org/yast/rubocop-yast.svg?branch=master)](https://travis-ci.org/yast/rubocop-yast)
[![Coverage Status](https://img.shields.io/coveralls/yast/rubocop-yast.svg)](https://coveralls.io/r/yast/rubocop-yast?branch=master)
[![Code Climate](https://codeclimate.com/github/yast/rubocop-yast/badges/gpa.svg)](https://codeclimate.com/github/yast/rubocop-yast)
[![Inline docs](http://inch-ci.org/github/yast/rubocop-yast.svg?branch=master)](http://inch-ci.org/github/yast/rubocop-yast)


This is a plugin for [RuboCop](https://github.com/bbatsov/rubocop)
a Ruby static code analyzer. It was inspired by [Rubocop-Rspec](https://github.com/nevir/rubocop-rspec)
and [YCP Zombie Killer](https://github.com/yast/zombie-killer).

The goal is to create a Rubocop plugin which can check for
[YaST](http://yast.github.io/) specific issues. Optionally it should allow to
covert some ugly code parts introduced by the automatic code conversion done by
[YCP Killer](https://github.com/yast/ycp-killer) (conversion from YCP to Ruby).

Check [the test descriptions](spec/builtins_spec.md) to see the examples of offense
detection and code conversion.

*The plugin is currently in early development, always manually check the chages
done by the plugin! It can eat your code... ;-)*


Installation
------------

The plugin is published at [rubygems.org](https://rubygems.org/gems/rubocop-yast),
you can install it using the `gem` command:

```shell
sudo gem install rubocop-yast
```

You can also install the latest development version directly from the Git repository,
{'fraction_non_alphanumeric': 0.1575013347570742, 'fraction_numerical': 0.0, 'mean_word_length': 4.976076555023924, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 28, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6824922', 'n_tokens_mistral': 1333, 'n_tokens_neox': 1299, 'n_words': 289}