Giter VIP home page Giter VIP logo

Comments (5)

pevma avatar pevma commented on June 7, 2024

I think it is a good idea to be able to enable all rules present in a rulefile. The end user however needs to be aware there could potentially be unwanted consequences - aka duplicates, perf hit, FPs etc.

from scirius.

regit avatar regit commented on June 7, 2024

I don't think enabling commented rules is a good idea. There will be too much noise. My idea is to:

  • parse them
  • add them to categories
  • add them to disabled rules
    This way we get exactly what rules writer wanted to do.

from scirius.

b-u-g-s avatar b-u-g-s commented on June 7, 2024

Great idea! This would work great and be very true to what actually really happens... Those rules are disabled!

from scirius.

b-u-g-s avatar b-u-g-s commented on June 7, 2024

A few thoughts:

  • maybe this is the case already but do you display disable rules by categories you can drill down? I think there are quite a few rules that are commented so you wouldn't just want to list individual rules as a flat list.
  • I noticed some disabled rules have double # in front. So parsing only the rules with one # would not be enough

On the last point, this is why I didn't notice the rules were disabled with the original issue (windows download). There were so many lines starting with one # that I thought it was something like #include in C and that you had to have double # for disabling a rule (nothing to do with C)

from scirius.

regit avatar regit commented on June 7, 2024

Implemented in 1.1.2.

from scirius.

Related Issues (20)

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.