Giter Site home page Giter Site logo

Comments (3)

aciccarello avatar aciccarello commented on August 25, 2024 1

@pgonzal Sure. My gut reaction is that if you frequently need to suppress parts of tsdoc, you are getting more into a docs linter. While that may be helpful when generating documentation, I don't know that it should be part of tsdoc core, especially early on. My impression is that linter rules change frequently and maintaining them in the core library could complicate things.

Coming from typedoc's loose parsing of doc comments, I don't see myself looking for this feature to be included.

from tsdoc.

octogonz avatar octogonz commented on August 25, 2024

@aciccarello could you provide a little more detail? :-P Does the design seem misguided? Or are you just saying that you wouldn't personally need this feature?

Is your concern mainly with the @suppress tag, or do you also dislike the idea of labeling each error with a name such as ae-undocumented-link-target? I also considered the TypeScript compiler's approach, where diagnostics have numbers (e.g. TS1003). However that seemed less readable.

from tsdoc.

octogonz avatar octogonz commented on August 25, 2024

@aciccarello I've come around to the same viewpoint. The most common use case for suppressions is to bulk-ignore all legacy violations, so that we can start applying the stricter rules for new changes going forward. In this situation, tracking suppressions in source code comments is clumsy and clutters the code. Such suppressions really need to go in a file (e.g. suppressions.json) that can be easily generated by a tool.

I'm going to close this RFC.

from tsdoc.

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.