Open scripthunter7 opened 9 months ago
Currently, supported directive names, hints and platforms are just burned into these rules.
It would be good to make them configurable, for example like this:
rules: unknown-hints-and-platforms: ["error", { "supportedPlatforms": ["windows", "mac", ... ], "supportedHints": ["PLATFORM", ...] }] unknown-preprocessor-directives: ["error", { "supportedDirectives": ["if", "endif", ... ] }]
Also, it would be good to put a "no-" prefix in front of their names
Currently, supported directive names, hints and platforms are just burned into these rules.
It would be good to make them configurable, for example like this:
Also, it would be good to put a "no-" prefix in front of their names