Coder Social home page Coder Social logo

pronto-haml's People

Contributors

ashkulz avatar doomspork avatar jeroenj avatar michaelherold avatar mmozuras avatar msalzburg avatar nashby avatar nbekirov avatar petergoldstein avatar skateman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pronto-haml's Issues

haml-lint version

Hello,

haml-lint is now at version 0.7.0 but pronto-haml require 'haml-lint', '> 0.6.0', '>= 0.6.0'
Is it possible to remove '
> 0.6.0' from pronto-haml.gemspec to get the latest version of haml-lint working ?
What is the problem with the newer version of haml-lint ?

Not catching syntax errors

Hey,

We are using pronto to run rubocop, haml on our PRs. What we have recently noticed that pronto-haml didn't catch syntax error exception while pure haml-lint did.

We executed rubocop -a on multiple files and few haml files were updated with the following:

-#modal-window.modal.fade{"aria-hidden" => "true", "data-backdrop" => "static", "aria-labelledby" => "myModalLabel", "role" => "dialog"}
+# modal-window.modal.fade{"aria-hidden" => "true", "data-backdrop" => "static", "aria-labelledby" => "myModalLabel", "role" => "dialog"}

It's an obvious syntax error from haml.

$ git show --name-only | grep 'haml' | xargs haml-lint
_edit_page_block_modal.html.haml:0 [E] Syntax: Illegal element: classes and ids must have values.
_edit_cart_item_modal.html.haml:0 [E] Syntax: Illegal element: classes and ids must have values.

2 files inspected, 2 lints detected

But pronto run did not catch those syntax issues. A bug or some configuration issue?

Thanks!

Release 0.11.1 ?

Currently, the rubocop dependency is fixed to < 1.0. but rubocop 1 is released, with current version 1.18.0

Is pronto-haml being updated?

The limitation on RuboCop < 1.0 just added and the lack of any real commits in a long time suggest this isn't being maintained. Is it significant work to update this for current RuboCop?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.