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

[LSP server] Add a new rule to detect mismatch project name #67

Open
jaudiger opened this issue Jul 4, 2024 · 0 comments
Open

[LSP server] Add a new rule to detect mismatch project name #67

jaudiger opened this issue Jul 4, 2024 · 0 comments

Comments

@jaudiger
Copy link
Contributor

jaudiger commented Jul 4, 2024

When creating a new Brioche project, it could be nice to have a rule that checks if the project.name corresponds to the file name:

  • Should warn:
// foo.bri
export const project = {
  name: "bar",
  version: "0.0.1",
};
  • Should not warn:
// foo.bri
export const project = {
  name: "foo",
  version: "0.0.1",
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant