vile-rails-best-practices v0.3.3
vile-rails-best-practices  
  
  
  
 
A Vile plugin for identifying common style and maintainability issues in your Rails code (via rails_best_practices).
Requirements
Installation
Currently, you need to have rails_best_practices installed manually.
npm i -D vile vile-rails-best-practices
gem install rails_best_practicesA good strategy is to use Bundler.
Config
rails-best-practices:
  config:
    vendor: true
    spec: true
    test: true
    features: trueIgnorning Files
You can use vile.ignore or set rails_best_practices.ignore:
rails-best-practices:
  ignore:
    - specYou can also set the cli specific exclude option:
rails-best-practices:
  config:
    exclude:
      - foo/bar
      - bazAllowing Files
You can use vile.allow or set rails_best_practices.allow:
rails-best-practices:
  allow:
    - app/controllersYou can also set the cli specific path option:
rails-best-practices:
  config:
    path:
      - foo/bar
      - bazSetting Path Arg
You can set the cli specific path arg if you want:
rails-best-practices:
  config:
    path: "."Versioning
This project uses Semver.
Licensing
This project is licensed under the MPL-2.0 license.
Any contributions made to this project are made under the current license.
Contributions
Current list of Contributors.
Any contributions are welcome and appreciated!
All you need to do is submit a Pull Request.
- Please consider tests and code quality before submitting.
- Please try to keep commits clean, atomic and well explained (for others).
Issues
Current issue tracker is on GitHub.
Even if you are uncomfortable with code, an issue or question is welcome.
Code Of Conduct
By participating in this project you agree to our Code of Conduct.
Maintainers
- Brent Lintner - @brentlintner
Architecture
This project is currently written in JavaScript. rails_best_practices provides
a JSON CLI output that is currently used until a more ideal option is implemented.
- binhouses any shell based scripts
- srcis es6+ syntax compiled with Babel
- libgenerated js library
Developing
cd vile-rails-best-practices
npm install
npm run dev
npm test