I'm in search for some yaml linter, so I can lint yaml docs used to generate swagger ui (https://www.npmjs.com/package/swagger-jsdoc). But the only one I can find is one that is very specifically tailored (https://github.com/replicatedhq/replicated-lint). Now what I see is that the general principles/concepts ESLint has are the things needed, like the ability to extract the yaml pieces to lint (like the markdown plugin does to extract the JS code blocks). And in essence, it's just checking rules based on a AST, which can be created from yaml code (https://www.npmjs.com/package/yaml-ast-parser). So I was wondering if it would be possible to use ESLint with other AST's to be able to lint other 'languages'? If this would not be possible, would it be logical to extract the generic concepts to a base linter for several linters?
-- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/eslint/ce5928de-1a1a-44ab-aca4-4dccee74e3d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
