Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign the bslint.json file #116

Open
TwitchBronBron opened this issue Jul 18, 2024 · 0 comments
Open

Redesign the bslint.json file #116

TwitchBronBron opened this issue Jul 18, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@TwitchBronBron
Copy link
Member

TwitchBronBron commented Jul 18, 2024

The bslint.json file is a bit basic. I really like the way eslint json files work, and I think that same style would work well with bslint. Here's an example : https://github.com/rokucommunity/brighterscript/blob/master/.eslintrc.js

Here are some of the features I'd like to see:

  • the ability to "extend" / inherit a default rule set
  • simple way to override a rule's severity, with consistent severity names.
  • a consistent structure for all rules. eslint allows a string for severity, or an array where severity is the first entry. Then a custom data structure for each specific rule after that.

This should probably be implemented as part of the v1 rewrite, so the breaking changes land at the same time.

@TwitchBronBron TwitchBronBron added the enhancement New feature or request label Jul 18, 2024
@TwitchBronBron TwitchBronBron added this to the v1.0.0 milestone Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant