Git Product home page Git Product logo

Comments (6)

Cycl0pe avatar Cycl0pe commented on July 21, 2024 1

Thanks for your help. I was missing the keyword "security".

from solium-plugin-security.

duaraghav8 avatar duaraghav8 commented on July 21, 2024

If I understand correctly, you're looking for a single flag which you could toggle in your configuration to enable/disable all rules, without having to specify them individually. Is that right?

If yes, then currently it is not possible. I thought of enabling all security rules in the solium-all ruleset, but that forces enabling all style rules too.

You're welcome to share how you imagine this could work in the configuration? you can add to the discussion on duaraghav8/Ethlint#252

from solium-plugin-security.

Cycl0pe avatar Cycl0pe commented on July 21, 2024

Well, I was looking for a way to enable one or all rules disabled by default but I do not know how to do it in the configuration file.

Cycl0pe

from solium-plugin-security.

duaraghav8 avatar duaraghav8 commented on July 21, 2024

To clarify, you cannot to that at the moment. You will have to specify all rules as enabled separately in your soliumrc.
The issue I've pointed you to is for allowing people to give ideas on how this can be improved.

from solium-plugin-security.

Cycl0pe avatar Cycl0pe commented on July 21, 2024

I do understand that but how do you enable one specific rule in .soliumrc.json? I did not find any documentation about it.

Thanks

from solium-plugin-security.

duaraghav8 avatar duaraghav8 commented on July 21, 2024

The documentation is under Plugins https://ethlint.readthedocs.io/en/latest/user-guide.html#plugins
eg

{
  "plugins": ["security"],
  "rules": {
    "security/rule-name": "error"
  }
}

from solium-plugin-security.

Related Issues (9)

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.